IronPython 和 pdb.set_trace()
有谁知道 IronPython 2.6 是否计划支持 pdb.set_trace() 以启用在 IronPython 模块中设置断点?如果没有,有人建议在没有 pdb 的情况下完成此任务吗?
Does anyone know if IronPython 2.6 is planned to have support for pdb.set_trace() to enable setting breakpoints in an ironpython module? If not does anyone have a suggestion for accomplishing this without pdb?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,IronPython 2.6 支持这一点。默认情况下,当调用 sys.settrace 时,此功能会打开,因此调用者上方堆栈上已有的帧将不可用。但使用 -X:Tracing 选项它始终可用。
Yes, IronPython 2.6 supports this. By default this switches on when sys.settrace is called so frames already on the stack above the caller won't be available. But with the -X:Tracing option it's available all the time.