Automated Exception Handling

前端 未结 4 1658
無奈伤痛
無奈伤痛 2021-02-03 12:44

I was wondering if something exists (in Java world) able to take an snapshot of the JVM current state with the following features:

  • Do it while an exception is bein
4条回答
  •  醉梦人生
    2021-02-03 13:28

    You may want to look into the work that NetBeans has done regarding automated use logging: http://wiki.netbeans.org/UsageLoggingSpecification.

    As for dumping out local variables, I would imagine that you could simply use a debugger, such as the one that bajafresh4life mentioned.

提交回复
热议问题