The test is identical to API/lang/c/stepping/ except:
- It uses C++ and thus needs demangling support
- It uses dynamic library, and tries to step into a function that is defined in the library.
Test fails with:
File "...llvm-project/lldb/test/API/lang/cpp/stepping/TestStepAndBreakpointsCpp.py", line 252, in test_and_python_api self.assertEqual(thread.GetFrameAtIndex(0).GetFunctionName(), "b(int)") AssertionError: 'main' != 'b(int)'
...because it fails to step into the b(int) method and hits the next
breakpoint inside the main method.