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.
精彩评论