See https://netbeans.org/bugzilla/show_bug.cgi?id=251569 Use the attached class to reproduce the bug. Run the class under debugger: $ java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:37535 -classpath ... exceptionbug.ExceptionBug Then attach jdb: $ jdb -attach localhost:37535 main[1] cont > Exception occurred: java.lang.UnsupportedOperationException (uncaught)"thread=main", exceptionbug.ExceptionBug.criticalMethod(), line=26 bci=48 main[1] pop main[1] step > Step completed: "thread=main", exceptionbug.ExceptionBug.criticalMethod(), line=20 bci=0 main[1] print importantString importantString = "java.lang.UnsupportedOperationException: Kaboom!"
|