Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not debug if maya is started with command line arguments

See original GitHub issue

Issue Description

If maya is started with commandline arguments then the debug functionality in PyCharm does not work. It does not find the maya executable.

Steps to Reproduce:

  1. Start Maya with the following command line parameter C:\Program Files\Autodesk\Maya 2017\bin\maya.exe -hideConsole
  2. Make sure correct command port is active in maya
  3. Running a script from PyCharm works properly
  4. Try debugging the script. It shows the following error. 11:48 AM MayaCharm: no running Maya Instance for "C:\Program Files\Autodesk\Maya2017\bin\maya.exe" found

It seems like the it could be a bug in ProcessUtils in kotlin. Not sure.

I am using the latest version of MayaCharm 3.0 with PyCharm Professional 2018.3 and Maya 2017 Update 5

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

cmcpasserbycommented, Jan 8, 2019

am pretty busy, but will try to submit the fix for this on the weekend

cmcpasserbycommented, Jan 7, 2019

Thanks, think it is more a error in how I poll for Maya processes, will look into it tonight

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get a Stack Trace for Maya on Linux
Running Maya in debug mode will help Autodesk troubleshoot crashes. ... command line parameter to Maya of -prompt will run in prompt mode)....
Read more >
PyCharm cannot catch breakpoints if the python code is ...
I am debugging a Python code for Maya through the remote debugger in PyCharm. The remote debugger can catch breakpoints as expected if...
Read more >
Start debug with command line arguments? - NI Community
I've used this in the past to start two different run time options via a pair of Windows shortcut icons with the properties:...
Read more >
Command-Line Arguments | Unreal Engine 4.27 Documentation
Collection of arguments that can be passed to the engine's executable to configure options controlling how it runs.
Read more >
Remote Debugging with PyCharm - JetBrains
208.95) of the machine where the IDE is running. These parameters will be used by the remote debug server to access it. Map...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found