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.
Build: NetBeans IDE Dev (Build 20130717-a8a6d26d6326) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: rodrigorsantos: <Please provide a description of the problem or the steps to reproduce> Error ocurred in debug class Stacktrace: com.sun.jdi.InvalidStackFrameException: Thread has been resumed at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:80) at com.sun.tools.jdi.StackFrameImpl.location(StackFrameImpl.java:89) at com.zeroturnaround.jdi.util.StackFrameUtil.filter(StackFrameUtil.java:28) at com.zeroturnaround.jdi.JRThreadReference.frames(JRThreadReference.java:58) at com.zeroturnaround.jdi.JRThreadReference.frameCount(JRThreadReference.java:50) at com.sun.tools.jdi.ThreadReferenceImpl$$$.frameCount(ThreadReferenceImpl.java:60000)
Created attachment 137447 [details] stacktrace
IMHO this is a defect of zeroturnaround, because throwing InvalidStackFrameException from ThreadReference.frameCount() looks quite unexpected. I'll write a workaround for that.
http://zeroturnaround.com/forums/topic/invalidstackframeexception-during-debugging/
Workaround was implemented in changeset: 259853:d669ec4e6cda http://hg.netbeans.org/core-main/rev/d669ec4e6cda
Integrated into 'main-silver', will be available in build *201307252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d669ec4e6cda User: mentlicher@netbeans.org Log: #233070: ThreadReference.frameCount() can throw InvalidStackFrameException.