Print stack traces in debug output.

This commit is contained in:
Dmitry Trofimov
2014-11-03 17:57:39 +01:00
parent 7ab8190d5b
commit aeadf39465

View File

@@ -38,6 +38,9 @@ def __lldb_init_module(debugger, internal_dict):
print('Will settrace in: %s' % (frame,))
for f in thread:
print(f)
res = frame.EvaluateExpression("(int) SetSysTraceFunc(%s, %s)" % (
show_debug_info, is_debug), options)
error = res.GetError()