开发者

IronPython and pdb.set_trace()

Does anyone know if IronPython 2.6 is planned to have support for pdb.set_trace() to enab开发者_开发知识库le setting breakpoints in an ironpython module? If not does anyone have a suggestion for accomplishing this without pdb?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜