Need to handle when there is an existing evaluation function
DinoV opened this issue · 2 comments
DinoV commented
How can we have debugging + Pyjion?
ethanhs commented
I think the main issue with this is to support FrameEval, the debugger would do its work then call _PyEval_EvalFrameDefault
, which you don't want it to do. If Pyjion starts before the debugger, you can have debuggers just call the eval_frame
function at the end (I plan on asking if this is what the PyCharm debugger does). The only change in Pyjion that I would suggest be made is hold a pointer to the previous eval function and return it when Pyjion disables itself, so that things don't break.