On Windows 7, I try to get a stack trace from a Java process by executing the command
jstack.exe -F xxx
from another Java process, where xxx is the PID of the target process. I'm getting the error
Error attaching to process: Windbg Error: WaitForEvent failed!
Any idea why?
It might be that you need to run the command as administrator. If you do not have access rights to the process you will also get that same error message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With