[issue29400] Instruction level tracing via sys.settrace
Xavier de Gaye
report at bugs.python.org
Thu Feb 2 06:27:42 EST 2017
Xavier de Gaye added the comment:
> The motivation for this suggestion was that for tracers that *are* interested in instructions, it *might* be simpler to get two calls, one of 'line', and one of 'instruction'. Maybe it's a bad idea though.
Thanks for the clarification. It's ok if instruction tracing remains an opt-in feature. As for this suggestion, I am not sure it is useful for debuggers based on the bdb module as trace_dispatch() (the bdb trace function) receives notification of the trace event type as the 'event' argument.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29400>
_______________________________________
More information about the Python-bugs-list
mailing list