Open mda6 opened 7 years ago
Sorry, I don't have any plans for adding support for python 2.7. I am, however, happy to accept contributions should someone else implement this feature.
The ability to break inside a function and run arbitrary code (including modifying local variables, as well as returning from the function with an arbitrary value) is actually a tricky one. As far as I know no other package supports it (including all python debuggers I know about, as well as IPython), so I'm quite proud that I could get it working for xdbg.
The downside, however, is that the implementation makes creative use of low-level implementation details of CPython 3. It is not directly portable to python 2, or other python implementations (e.g. PyPy).
While I think a python2 port is likely to be technically feasible, I don't have the resources to implement it myself. I'm leaving the issue open to reflect that contributions would be appreciated.
Thank you, your package looks awesome!