This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | StackOverflowError at com.sun.tools.jdi.ReferenceTypeImpl.methods | ||
---|---|---|---|
Product: | debugger | Reporter: | Alexander Simon <alexvsimon> |
Component: | Code | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | alexvsimon |
Priority: | P1 | Keywords: | 8.0_HR_FIX |
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 207734 |
Attachments: |
stacktrace
stacktrace |
Description
Alexander Simon
2014-02-18 14:07:45 UTC
Created attachment 145359 [details]
stacktrace
My steps were: - set exception "java.lang.StackOverflowError" breakpoint. - start application which has an infinite recursion. - IDE stops on java.lang.StackOverflowError Result: - some IDE views hung: debugging view, variables view - cannot stop debugging P2 because IDE cannot debug StackOverflowError *** Bug 242192 has been marked as a duplicate of this bug. *** Created attachment 145469 [details]
stacktrace
cannot debug
Fixed by changeset: 272594:0f9031d1f5ae http://hg.netbeans.org/core-main/rev/0f9031d1f5ae Worth to fix into 8.0, IMHO. > Worth to fix into 8.0, IMHO.
I agree. The commit looks fine to me.
The behavior is better with the fix than without it. IDE is usable. Debugging session is finishable. However, both "Variables" and "Debugging" views refresh themselves after 1/2 a minute with the example below. I approve the fix for integration into the release80 branch though. Thanks! public static void main(String[] args) { new JavaApplication().start(0); } private void start(int i) { if (i < 0) return; start(i + 1); } Verified in NetBeans IDE Dev (Build Trunk-Build-792-on-20140224). Thanks for the review and verification, the fix is pushed into release80 branch: changeset: 281372:c209f8ad6136 http://hg.netbeans.org/releases/rev/c209f8ad6136 Integrated into 'releases/release80', will be available in build *201402242200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/c209f8ad6136 User: mentlicher@netbeans.org Log: #242054: Prevent from looping when invocation exception is thrown from methods on an exception. Also, handle frequent refreshes of debugging view (that happen on long stack traces) more efficiently. (transplanted from 0f9031d1f5aee0fc579d6a56624b5eacde1f23b1) Integrated into 'main-silver', will be available in build *201402260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0f9031d1f5ae User: mentlicher@netbeans.org Log: #242054: Prevent from looping when invocation exception is thrown from methods on an exception. Also, handle frequent refreshes of debugging view (that happen on long stack traces) more efficiently. |