开发者

IronPython and pdb.set_trace()

开发者 https://www.devze.com 2022-12-12 19:06 出处:网络
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 accom

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

精彩评论

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

关注公众号