6

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?

4

1 回答 1

3

是的,IronPython 2.6 支持这一点。默认情况下,这会在调用 sys.settrace 时打开,因此调用者上方的堆栈中已经存在的帧将不可用。但是使用 -X:Tracing 选项,它始终可用。

于 2009-11-23T05:26:53.347 回答