This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ammar2, gwk, vstinner, xdegaye
Date 2017-02-06.17:28:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486402126.15.0.669815722506.issue29400@psf.upfronthosting.co.za>
In-reply-to
Content
> I did it this way because I would like to consider adding a third mode, which would only trigger tracing for interesting control-flow events, namely steps for which the previous instruction was a branch.

Hum, let's use https://en.wikipedia.org/wiki/Basic_block terminology.

The callback would be called when you enter and exit a basic block? Or only on exit?

Only on conditional branches? Or also on unconditional branches?

In term of instructions, can give examples of instructions which would be traced or not?

IMHO the two instruction level modes would be useful.
History
Date User Action Args
2017-02-06 17:28:46vstinnersetrecipients: + vstinner, xdegaye, gwk, ammar2
2017-02-06 17:28:46vstinnersetmessageid: <1486402126.15.0.669815722506.issue29400@psf.upfronthosting.co.za>
2017-02-06 17:28:46vstinnerlinkissue29400 messages
2017-02-06 17:28:45vstinnercreate