code_junkie

Python memory debugging with GDB

Nov 12th, 2011
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. (gdb) print PyRun_SimpleString("import traceback; traceback.print_stack()")
  2. File "<string>", line 1, in <module>
  3. File "/var/tmp/foo.py", line 2, in <module>
  4. i**2
  5. File "<string>", line 1, in <module>
  6. $1 = 0
Add Comment
Please, Sign In to add comment