matthiasblaesing commented on issue #6862:
URL: https://github.com/apache/netbeans/issues/6862#issuecomment-1861480173

   How to get a stacktrace when NetBeans seems to be stuck:
   
   1. Open a command line (cmd)
   2. Run `<PATH_TO_JDK>\bin\jps.exe -v`. This will list all java processes 
currently executing. There should be at least two: jps itself and NetBeans. In 
my test the NetBeans process did not show the main class, but verbose mode 
shows the parameters and that makes it recognizable.
   3. Read the PID (first column) from the output and run 
`<PATH_TO_JDK>\bin\jstack.exe PID > PATH_YOU_CAN_WRITE TO`
   
   This will get you a stack trace in the mentioned file. If you remove the 
output redirection from `jstack` you see the stacktrace in the console.
   
   The problems you mention could be a virus scanner, that locks the file and 
prevents NetBeans and git gui to do their job (gut feeling)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to