diff options
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
| -rw-r--r-- | lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py index 479c94c23154..3ad7539018d5 100644 --- a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py +++ b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py @@ -219,3 +219,12 @@ class PluginPythonOSPlugin(TestBase): 6, "Make sure we stepped from line 5 to line 6 in main.c", ) + + thread_bp_number = lldbutil.run_break_set_by_source_regexp( + self, "Set tid-specific breakpoint here", num_expected_locations=1 + ) + breakpoint = target.FindBreakpointByID(thread_bp_number) + # This breakpoint should not be hit. + breakpoint.SetThreadID(123) + process.Continue() + self.assertState(process.GetState(), lldb.eStateExited) |
