summaryrefslogtreecommitdiff
path: root/plugins/python
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/exectracer/exectracer.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/python/exectracer/exectracer.py b/plugins/python/exectracer/exectracer.py
index 898f0be..76e2ce4 100644
--- a/plugins/python/exectracer/exectracer.py
+++ b/plugins/python/exectracer/exectracer.py
@@ -21,3 +21,13 @@ class ExecTracer(Plugin):
for i in debugger.list_all_threads():
print "Thread %d '%s'" % (i[0], i[1])
+
+ frames = debugger.get_frames_stack(i[0])
+
+ for frame in frames:
+ print " 0x%08x" % frame[0]
+
+ if len(frames) == 0:
+ print " -"
+
+