Tips for debugging crash on GUI startup

Tips for debugging crash on GUI startup

barnabas79
Contributor Contributor
919 Views
2 Replies
Message 1 of 3

Tips for debugging crash on GUI startup

barnabas79
Contributor
Contributor

So I'm currently investigating a crash which always happens immediately on GUI startup.  It causes a script editor window to briefly open, with what looks like might be relevant information (?), but the window then closes before I can read it.

 

I was wondering if anyone had any tips for tacking this problem - either:

 

- An easy way to turn on maya logging (preferrably via an environment var - the MAYA_APP_DIR is actually in a temp dir in this case, because the crash happens during a unittest)
- A way to make the script editor window stay open


...or anything else that you think might help.  Thanks!

Accepted solutions (1)
920 Views
2 Replies
Replies (2)
Message 2 of 3

stuzzz
Collaborator
Collaborator
Accepted solution

Hi,

 

You might set the environment variable to you Maya.env

MAYA_DEBUG_ENABLE_CRASH_REPORTING = 1

 

You will usually found the

specify a log file in a path  like: C:\Users\<YOUR USERNAME>\AppData\Local\Temp\MayaCrashLog<token>.log

 

 

 

0 Likes
Message 3 of 3

stuzzz
Collaborator
Collaborator

I was editing my text when when the post got validated. It's barely english, sorry for that!

 

0 Likes