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.

Bug 256821 - Netbeans hangs completely on capturing of java.lang.StackOverflowError
Summary: Netbeans hangs completely on capturing of java.lang.StackOverflowError
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-26 16:39 UTC by NukemBy
Modified: 2015-11-26 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2015-11-26 16:39:40 UTC
I was trying to identify the root cause of the java.lang.StackOverflowError and set a breakpoint on that exception class. Exception was captured, but after that Netbeans completely hanged - does not react on any actions. The only way further - kill it.

It would be nice to have Netbeans being able to handle that case - I mean stay interactive.

Its pretty easy to reproduce this problems:

1. Create breakpoint of type Exception = java.lang.StackOverflowError

2. Run the test like this one
    
    @Test
    public void testRecursive() {
        testRecursive(true);
    }
    
    public static void testRecursive(boolean recurse) {
        if( recurse )
            testRecursive(recurse);
    }