【问题标题】:Pausing execution of embedded IronPython暂停执行嵌入式 IronPython
【发布时间】:2011-08-22 14:48:27
【问题描述】:

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

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

有可能这样做吗?至少 IronPythonStudio 似乎可以做到这一点。

亲切的问候。

【问题讨论】:

    标签: c# debugging ide ironpython breakpoints


    【解决方案1】:

    要暂停 IronPython 脚本,您需要停止回溯函数退出。当 traceback 函数退出时,脚本将继续运行。

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-06-02
      • 2016-09-08
      • 2023-04-05
      • 1970-01-01
      • 1970-01-01
      • 2010-12-12
      • 2010-11-15
      相关资源
      最近更新 更多