Maya 2013 Debugging

Feb 5, 2013 at 12:51 AM
Hey guys,

I have been using Eclipse for live debugging of Python running inside of Maya for some time. I would much prefer to do this with Visual Studio but am not sure how to set it up! In Eclipse I import a pydev module and run the Eclipse debug server which triggers breakpoints in my code. However, in Visual Studio, when I attach to the Maya process using Python Debugging the breakpoints are never triggered.

Any ideas what I am doing wrong?
Coordinator
Feb 7, 2013 at 3:51 PM
The current Attach to Process feature works well with plain python.exe processes, but can be less reliable with programs that embed Python. Chances are you aren't doing anything wrong and we simply don't support Maya (we certainly haven't tested with it).

We are currently working on a similar feature to what Eclipse has, where you will be able to add 2 lines of code at the top of your script which will enable us to attach more safely. There's more info in this post on what we've got planned.