使用 IronPython 在 SharpDevelop 中设置断点

发布于 2024-09-07 10:21:02 字数 101 浏览 3 评论 0原文

是否有可能以某种方式让断点在带有 IronPython/Winforms 的 SharpDevelop 中工作?它们与其他语言一起工作得很好,但与 IronPython 一起工作就不会停止

is it possible somehow to get the breakpoints to work in SharpDevelop with IronPython/Winforms? They work alright with other languages but with IronPython they just don't stop

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏天碎花小短裙 2024-09-14 10:21:02

如果您通过菜单选项 Python | IronPython Console (ipy.exe) 运行应用程序,则断点将在 SharpDevelop 3.2 中工作。跑步。如果您通过菜单选项“调试 | 调试”使用调试器运行应用程序,则断点将不起作用。跑步。这是因为编译器不生成调试符号。

您还需要确保在调试器中启用“仅我的代码”选项,如 在 SharpDevelop 中调试 IronPython

如果您使用的是 SharpDevelop 4 beta 1,当前断点根本不起作用。

Breakpoints will work in SharpDevelop 3.2 if you run your application with the IronPython Console (ipy.exe) via the menu option Python | Run. Breakpoints will not work if you run your application with the debugger via the menu option Debug | Run. This is because the compiler does not generate debugging symbols.

You will also need to make sure that the Just My Code option is enabled in the debugger as shown in Debugging IronPython in SharpDevelop.

If you are using SharpDevelop 4 beta 1 currently breakpoints do not work at all.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文