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 211841

Summary: Handle the case when stack frames are invalidated during evaluation.
Product: debugger Reporter: Martin Entlicher <mentlicher>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Entlicher 2012-04-27 12:13:51 UTC
A probable cause of issue #141061 is, that the stack frames are invalidated by other events occurring during expression evaluation.

E.g.: If the target thread, that we perform the evaluation in, gets suspended in the backend (that can happen at any time and can not be prevented from), the thread might get suspended twice and we need to call "resume" on it, to reduce the suspend count to 1. This unfortunately invalidates the stack frame.
Therefore we need to synchronize such resume of thread or event, with the evaluation that might be running concurrently.
Comment 1 Martin Entlicher 2012-11-15 15:17:15 UTC
Moving to P4, it looks like this occurs occasionally on JDK 6 only.
Comment 2 Martin Entlicher 2015-09-01 09:46:56 UTC
This does not seem to be an issue any more.