暂停执行嵌入式IronPython

时间:2011-08-22 14:48:27

标签: c# debugging ide ironpython breakpoints

我目前正在尝试使用C#中的IronPython调试器编写IDE。

我可以运行脚本并获取回溯,但我还无法暂停脚本(例如在断点处)。

是否有可能这样做?至少看来IronPythonStudio可以做到这一点。

亲切的问候。

1 个答案:

答案 0 :(得分:1)

要暂停IronPython脚本,您需要停止退出跟踪功能。当回溯功能退出时,脚本将继续运行。

哈里皮尔森在creating a lightweight IronPython debugger上写了一篇很棒的帖子,这将是一个很好的起点。他介绍了在Hybrid App Debugging - Threading post中暂停IronPython脚本。

IronPythonStudio使用更重量级的.NET调试器,它是Visual Studio的一部分,不使用回溯。

相关问题