[issue29400] Instruction level tracing via sys.settrace

Xavier de Gaye report at bugs.python.org
Wed Feb 1 17:28:00 EST 2017


Xavier de Gaye added the comment:

> About performances: it's fine to add anything to maybe_call_line_trace(), it cannot impact performances when tracing is not used.

I do not agree, Python debuggers are already really really slow. They should not have to process 'instruction' trace events as this would happen if George does "Remove the `else` to always trace with PyTrace_INSTRUCTION, rather than as an alternate to PyTrace_LINE as it does now".
I understand that this was a suggestion :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29400>
_______________________________________


More information about the Python-bugs-list mailing list