3

I am currently trying to write an IDE with Debugger for IronPython in C#.

I can run the script and get the traceback, but I'm not yet able to pause the script (e.g. at a breakpoint).

Is there a possibility to do so? At least it seems that IronPythonStudio can do this.

Kind regards.

1 Answer 1

1

To pause the IronPython script you will need to stop the traceback function from exiting. When the traceback function exits the script will continue to run.

Harry Pierson wrote a great set of posts on creating a lightweight IronPython debugger which will be a good starting point. He covers pausing the IronPython script in the Hybrid App Debugging - Threading post.

IronPythonStudio uses the more heavyweight .NET debugger that is part of Visual Studio and does not use tracebacks.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.