3 ms·
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 simil
by tmm1 16y ago
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 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()