You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
Now, that #270 made significant progress, I think it is possible to support the evel_frame hook well enough to enable its usage with pydevd. The principal problem with this hook is, that the Stackless frame evaluation function PyEval_EvalFrameEx_slp:
has an additional third argument "retval"
can be entered multiple times for the same frame
observes the frame transfer protocol as described in pycore_stackless.h
But for each frame f the first invocation of PyEval_EvalFrameEx_slp has always the form PyEval_EvalFrameEx_slp(f, 0, Py_None) with f->f_executing == 0. And therefore we can map this first call to the signature of the C-Python frame evaluation function _PyFrameEvalFunction.
I'll try to create a pull request, do some testing with pydevd and see if this works out in practice.