how to expand size of Java stack trace to see bottom of stack? (triggering a stack overflow)

后端 未结 4 1797
傲寒
傲寒 2020-12-18 22:25

In Java, is there any way to view the complete, untruncated stack trace (e.g. by increasing the number of frames recorded), or otherwise get at the bottom of a stac

4条回答
  •  星月不相逢
    2020-12-18 23:08

    Try using jstack:

    http://docs.oracle.com/javase/6/docs/technotes/tools/share/jstack.html

    http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-VM/html/tooldescr.html#gblfh

提交回复
热议问题