Lines Matching full:thread
70 "main2.cpp", "// thread step-out of malloc into function b."
94 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
96 thread.IsValid(), "There should be a thread stopped due to breakpoint"
100 proc_of_thread = thread.GetProcess()
118 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
120 thread.IsValid(), "There should be a thread stopped due to breakpoint"
128 "breakpoint 1.1", thread.GetStopDescription(len("breakpoint 1.1") + 1)
132 self.assertEqual("breakpoint", thread.GetStopDescription(len("breakpoint") + 1))
133 self.assertEqual("break", thread.GetStopDescription(len("break") + 1))
134 self.assertEqual("b", thread.GetStopDescription(len("b") + 1))
138 "breakpoint 1.1", thread.GetStopDescription(len("breakpoint 1.1") + 100)
155 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
157 thread.IsValid(), "There should be a thread stopped due to breakpoint"
159 caller_symbol = get_caller_symbol(thread)
167 thread.StepOut()
169 thread.IsValid(), "Thread valid after stepping to outer malloc"
171 caller_symbol = get_caller_symbol(thread)
181 thread.StepOut()
182 self.runCmd("thread backtrace")
184 thread.GetFrameAtIndex(0).GetLineEntry().GetLine(),
209 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
211 thread.IsValid(),
212 "There should be a thread stopped due to breakpoint condition",
214 self.runCmd("thread backtrace")
215 frame0 = thread.GetFrameAtIndex(0)
219 thread.StepOver()
220 thread.StepOver()
221 thread.StepOver()
222 self.runCmd("thread backtrace")
226 frame0 = thread.GetFrameAtIndex(0)
228 self.assertStopReason(thread.GetStopReason(), lldb.eStopReasonPlanComplete)
256 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
258 thread.IsValid(),
259 "There should be a thread stopped due to breakpoint condition",
261 self.runCmd("thread backtrace")
262 frame0 = thread.GetFrameAtIndex(0)
277 thread.StepOver()
278 thread.StepOver()
279 thread.StepOver()
280 self.runCmd("thread backtrace")
284 thread.RunToAddress(start_addr)
286 # self.runCmd("thread backtrace")
301 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
303 thread.IsValid(), "There should be a thread stopped due to breakpoint"
307 pos_range = range(thread.num_frames)
308 neg_range = range(thread.num_frames, 0, -1)
310 self.assertEqual(thread.frame[pos].idx, thread.frame[-neg].idx)
314 target, process, thread, bkpt = lldbutil.run_to_source_breakpoint(
335 thread.frames[0].name, expected_name, "Stopped in call_me(bool)"
339 thread.StepInstruction(False)
341 thread.frames[0].name,
345 thread.StepInstruction(True)
347 thread.frames[0].name,
351 thread.StepInto()
353 thread.frames[0].name,
357 thread.StepOver(False)
359 thread.frames[0].name,