Also prints out the stop reason string for lldbutil.PrintStackTrace(thread).
llvm-svn: 117281
This commit is contained in:
parent
752913d6ba
commit
4badfb8a1f
|
@ -173,8 +173,9 @@ def PrintStackTrace(thread, string_buffer = False):
|
|||
lines = GetLineNumbers(thread)
|
||||
addrs = GetPCAddresses(thread)
|
||||
|
||||
print >> output, "Stack trace for thread id={0:#x} name={1} queue={2}:".format(
|
||||
thread.GetThreadID(), thread.GetName(), thread.GetQueueName())
|
||||
print >> output, "Stack trace for thread id={0:#x} name={1} queue={2} stop reason={3}:".format(
|
||||
thread.GetThreadID(), thread.GetName(), thread.GetQueueName(),
|
||||
StopReasonString(thread.GetStopReason()))
|
||||
|
||||
for i in range(depth):
|
||||
frame = thread.GetFrameAtIndex(i)
|
||||
|
|
Loading…
Reference in New Issue