使用 IronPython 在 SharpDevelop 中设置断点
是否有可能以某种方式让断点在带有 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您通过菜单选项 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.