Comment on rbtrace: like strace, but for ruby codeComments−rdtsc15yAnything similar for Python?I am aware of this: http://docs.python.org/devguide/gdb.html only.−tmm1OP15yrbtrace 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−rdtsc15yThank you.I used Python for 6 years and had no idea about sys.settrace()
Comments
Anything similar for Python?
I am aware of this: http://docs.python.org/devguide/gdb.html only.
rbtrace 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
Thank you.
I used Python for 6 years and had no idea about sys.settrace()