IronPython 和 pdb.set_trace()

发布于 2024-08-11 16:23:41 字数 102 浏览 3 评论 0原文

有谁知道 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 技术交流群。

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

发布评论

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

评论(1

仅此而已 2024-08-18 16:23:41

是的,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.

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