Lines Matching full:thread

2 Test thread states.
16 bugnumber="llvm.org/pr15824 thread states not properly maintained",
18 …@skipIfDarwin # llvm.org/pr15824 thread states not properly maintained and <rdar://problem/285572…
21 bugnumber="llvm.org/pr18190 thread states not properly maintained",
25 """Test thread state after breakpoint."""
35 """Test thread state after continue."""
45 # thread states not properly maintained
48 """Test thread state after expression."""
52 # thread states not properly maintained
58 …@skipIfDarwin # llvm.org/pr15824 thread states not properly maintained and <rdar://problem/285572…
61 """Test thread states (comprehensive)."""
73 """Test thread state after breakpoint."""
77 # This should create a breakpoint in the main thread.
89 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint)
90 self.assertIsNotNone(thread)
92 # Make sure the thread is in the stopped state.
94 thread.IsStopped(), "Thread state isn't 'stopped' during breakpoint 1."
97 thread.IsSuspended(), "Thread state is 'suspended' during breakpoint 1."
108 """Test thread state after continue."""
112 # This should create a breakpoint in the main thread.
127 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint)
128 self.assertIsNotNone(thread)
136 # Check the thread state. It should be running.
138 thread.IsStopped(), "Thread state is 'stopped' when it should be running."
141 thread.IsSuspended(),
142 "Thread state is 'suspended' when it should be running.",
152 """Test thread state after expression."""
156 # This should create a breakpoint in the main thread.
171 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint)
172 self.assertIsNotNone(thread)
177 # Check the thread state
179 thread.IsStopped(),
180 "Thread state isn't 'stopped' after expression evaluation.",
183 thread.IsSuspended(),
184 "Thread state is 'suspended' after expression evaluation.",
194 …@skipIfDarwin # llvm.org/pr15824 thread states not properly maintained and <rdar://problem/285572…
202 # This should create a breakpoint in the main thread.
214 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint)
215 self.assertIsNotNone(thread)
233 self.assertStopReason(thread.GetStopReason(), lldb.eStopReasonSignal)
242 """Test thread states (comprehensive)."""
246 # This should create a breakpoint in the main thread.
260 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint)
261 self.assertIsNotNone(thread)
263 # Make sure the thread is in the stopped state.
265 thread.IsStopped(), "Thread state isn't 'stopped' during breakpoint 1."
268 thread.IsSuspended(), "Thread state is 'suspended' during breakpoint 1."
277 # Check the thread state. It should be running.
279 thread.IsStopped(), "Thread state is 'stopped' when it should be running."
282 thread.IsSuspended(),
283 "Thread state is 'suspended' when it should be running.",
292 self.assertStopReason(thread.GetState(), lldb.eStopReasonSignal)
294 # Check the thread state
296 thread.IsStopped(), "Thread state isn't 'stopped' after process stop."
299 thread.IsSuspended(), "Thread state is 'suspended' after process stop."
305 # Check the thread state
307 thread.IsStopped(),
308 "Thread state isn't 'stopped' after expression evaluation.",
311 thread.IsSuspended(),
312 "Thread state is 'suspended' after expression evaluation.",
315 self.assertStopReason(thread.GetState(), lldb.eStopReasonSignal)
320 self.assertStopReason(thread.GetState(), lldb.eStopReasonBreakpoint)
324 thread.IsStopped(), "Thread state isn't 'stopped' during breakpoint 2."
327 thread.IsSuspended(), "Thread state is 'suspended' during breakpoint 2."