diff options
| author | Dave Lee <davelee.com@gmail.com> | 2025-07-31 13:10:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-31 13:10:04 -0700 |
| commit | 68b9bb5e9bc3dcd5ff33fe250184debd3cc3dff5 (patch) | |
| tree | 6ff4675552e610e74e82f638356f1ab51118cc51 /lldb/test/API/functionalities/step_scripted/TestStepScripted.py | |
| parent | 2737d013a0194304b026826cfa46ba302dd4dadc (diff) | |
[lldb] Add stop_description Python property to SBThread (#151568)
Add `stop_description` as a Python convenience property to `SBThread`.
Diffstat (limited to 'lldb/test/API/functionalities/step_scripted/TestStepScripted.py')
| -rw-r--r-- | lldb/test/API/functionalities/step_scripted/TestStepScripted.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py index 52763694541e..343236a9e4e3 100644 --- a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py +++ b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py @@ -41,7 +41,7 @@ class StepScriptedTestCase(TestBase): frame = thread.GetFrameAtIndex(0) self.assertEqual("main", frame.GetFunctionName()) - stop_desc = thread.GetStopDescription(1000) + stop_desc = thread.stop_description self.assertIn("Stepping out from", stop_desc, "Got right description") def run_until_branch_instruction(self): @@ -153,7 +153,7 @@ class StepScriptedTestCase(TestBase): self.assertTrue(foo_val.GetValueDidChange(), "Foo changed") # And we should have a reasonable stop description: - desc = thread.GetStopDescription(1000) + desc = thread.stop_description self.assertIn("Stepped until foo changed", desc, "Got right stop description") def test_stop_others_from_command(self): |
