java stack dump on windows

后端 未结 7 889
自闭症患者
自闭症患者 2020-11-30 02:19

I have a running java process in a standard windows command window. ie i have run \'cmd\' and typed in java -jar ...

I need to be able to get a full stack dump of al

7条回答
  •  清歌不尽
    2020-11-30 03:14

    Take a look at this Stack Overflow post

    Thread dump programmatically /JDI (Java Debugger Interface)

    We have implemented a JMX method to dump stack traces. This is really handy because you can examine stack traces in a web browser even on a remote machine.

提交回复
热议问题