Discussion:
[Maya-Python] Debugging Maya with Pycharm
Russel Rehmund
2018-12-05 23:41:35 UTC
Permalink
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_maya+***@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.
Ravi Jagannadhan
2018-12-05 23:58:37 UTC
Permalink
I've never been able to get this to work. I would love to know how to do
this magical thing....
Post by Russel Rehmund
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
--
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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Justin Israel
2018-12-06 20:40:27 UTC
Permalink
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?
Post by Ravi Jagannadhan
I've never been able to get this to work. I would love to know how to do
this magical thing....
Post by Russel Rehmund
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Russel Rehmund
2018-12-06 20:57:35 UTC
Permalink
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:


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
Post by Justin Israel
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?
Post by Ravi Jagannadhan
I've never been able to get this to work. I would love to know how to do
this magical thing....
Post by Russel Rehmund
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Russel Rehmund

***@gmail.com
www.the3daddict.com
--
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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABGnDPTaGCF%2BAtQ9UkuDLZuysrT7VYuodAfiu1MbmexSveeB1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Justin Israel
2018-12-06 21:08:37 UTC
Permalink
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.
Post by Russel Rehmund
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: http://youtu.be/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
Post by Justin Israel
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?
Post by Ravi Jagannadhan
I've never been able to get this to work. I would love to know how to do
this magical thing....
Post by Russel Rehmund
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
Post by Justin Israel
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Russel Rehmund
www.the3daddict.com
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CABGnDPTaGCF%2BAtQ9UkuDLZuysrT7VYuodAfiu1MbmexSveeB1Q%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CABGnDPTaGCF%2BAtQ9UkuDLZuysrT7VYuodAfiu1MbmexSveeB1Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2SguWpd_ztjQ4hFyDVoV2L1W5FK5Q027SVrsEgh%3Dvhaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Johnny Cochrane
2018-12-06 21:44:20 UTC
Permalink
I've used this in production with the remote debuger feature available with
the proition of pycharm

https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html
Post by Justin Israel
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.
Post by Russel Rehmund
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: http://youtu.be/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
Post by Justin Israel
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?
Post by Ravi Jagannadhan
I've never been able to get this to work. I would love to know how to
do this magical thing....
Post by Russel Rehmund
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
Post by Justin Israel
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Russel Rehmund
www.the3daddict.com
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CABGnDPTaGCF%2BAtQ9UkuDLZuysrT7VYuodAfiu1MbmexSveeB1Q%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CABGnDPTaGCF%2BAtQ9UkuDLZuysrT7VYuodAfiu1MbmexSveeB1Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2SguWpd_ztjQ4hFyDVoV2L1W5FK5Q027SVrsEgh%3Dvhaw%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2SguWpd_ztjQ4hFyDVoV2L1W5FK5Q027SVrsEgh%3Dvhaw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJEtFuGNjVQFuLfue_10yyBb9WJm8tyhyuBMnozuAZUPAgD2_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Johnny Cochrane
2018-12-06 22:25:13 UTC
Permalink
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
Post by Johnny Cochrane
I've used this in production with the remote debuger feature available
with the proition of pycharm
https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html
Post by Justin Israel
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.
Post by Russel Rehmund
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: http://youtu.be/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
Post by Justin Israel
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?
Post by Ravi Jagannadhan
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 <
Post by Russel Rehmund
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,
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/bc01406b-4f15-4e57-b06c-c7b416fc6a74%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CADHeb2b%3DuqhCXWuvdP42PJV5xmDP6%2B8e-cYkUSVK1607N2tYTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
Post by Justin Israel
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XnUk4NqnL53Y%3D3CUj0TEw4feR_NXX1_teD-3GvMfpNA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Russel Rehmund
www.the3daddict.com
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CABGnDPTaGCF%2BAtQ9UkuDLZuysrT7VYuodAfiu1MbmexSveeB1Q%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CABGnDPTaGCF%2BAtQ9UkuDLZuysrT7VYuodAfiu1MbmexSveeB1Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2SguWpd_ztjQ4hFyDVoV2L1W5FK5Q027SVrsEgh%3Dvhaw%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2SguWpd_ztjQ4hFyDVoV2L1W5FK5Q027SVrsEgh%3Dvhaw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJEtFuFb8WSVYrtD04uNZyYFhpEzWChAZ12xSzLTmBC1wE6_hQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...