3 ms·
Anything similar for Python? I am aware of this: http://docs.python.org/devguide/gdb.html http://docs.python.org/devguide/gdb.html only.
by rdtsc 16y ago
Anything similar for Python?
I am aware of this: http://docs.python.org/devguide/gdb.html http://docs.python.org/devguide/gdb.html only.
- tmm1 16y agorbtrace is built on ruby's event hook api, which provides events when ruby and C extension methods are called, and when they return. python offers a very similar event hook api: http://www.doughellmann.com/PyMOTW/sys/tracing.html http://www.doughellmann.com/PyMOTW/sys/tracing.html
- rdtsc 16y agoThank you. I used Python for 6 years and had no idea about sys.settrace()