architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
502 stars 116 forks source link

Python PDB #51

Open gtalarico opened 7 years ago

gtalarico commented 7 years ago

Has anyone tried using Python PDB on code executed in the shell? Not sure if it's possible, but would be very helpful for debugging scripts executed through RPS, especially pdb.set_trace()

Seems like it's possible to use it in IronPython as long as X:Frames is used, but when I include import pdb; pdb.set_trace() seems like it's ignored.