Debugging Maya with Pycharm

267 views
Skip to first unread message

Russel Rehmund

unread,
Dec 5, 2018, 6:41:35 PM12/5/18
to Python Programming for Autodesk Maya
Anyone have experience attaching the Pycharm debugger to a Maya process?  I thought I should be able to see my Maya process to attach to, but it doesn't appear in the list.  I had this working before but I can't remember what I did differently.  Anyone done this could share how it's set up?

Thanks

Ravi Jagannadhan

unread,
Dec 5, 2018, 6:58:57 PM12/5/18
to python_in...@googlegroups.com
I've never been able to get this to work. I would love to know how to do this magical thing....

On Wed, Dec 5, 2018 at 3:41 PM Russel Rehmund <russel....@gmail.com> wrote:
Anyone have experience attaching the Pycharm debugger to a Maya process?  I thought I should be able to see my Maya process to attach to, but it doesn't appear in the list.  I had this working before but I can't remember what I did differently.  Anyone done this could share how it's set up?

Thanks

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan

Justin Israel

unread,
Dec 6, 2018, 3:40:44 PM12/6/18
to python_in...@googlegroups.com
Isn't the debugger looking for Python processes to attach to? How would it step through Maya if it could attach to it? Would you expect to step through C++ frames?

Russel Rehmund

unread,
Dec 6, 2018, 3:57:51 PM12/6/18
to python_in...@googlegroups.com
Sorry, I meant to say a mayapy process, as in a tool or such launched within Maya.  I was looking at this video posted, but couldn't get it to work: https://www.youtube.com/watch?v=OxyaHFqtTCM

Also trying Mayacharm's new release but need to figure out how to handle some studio-specific issues to get that one to find the process to attach to correctly.

Russ


For more options, visit https://groups.google.com/d/optout.


--

Justin Israel

unread,
Dec 6, 2018, 4:08:52 PM12/6/18
to python_in...@googlegroups.com
Oh I see. Thanks for clarifying. Well I did try a mayapy process via Intellij Ultimate. It was able to see the mayapy pid without having to modify that registry setting as per the video. Although it failed to actually connect to it and start the debugging session.

Johnny Cochrane

unread,
Dec 6, 2018, 4:44:36 PM12/6/18
to python_in...@googlegroups.com
I've used this in production with the remote debuger feature available with the proition of pycharm


Johnny Cochrane

unread,
Dec 6, 2018, 5:25:31 PM12/6/18
to python_in...@googlegroups.com
Or if you're using eclipse (pycharm uses the same Package and can follow the same steps)

http://www.pydev.org/manual_adv_remote_debugger.html
Reply all
Reply to author
Forward
0 new messages