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 121850 - com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Summary: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-11-13 20:07 UTC by Jiri Skrivanek
Modified: 2007-12-07 16:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 11357


Attachments
stacktrace (2.18 KB, text/plain)
2007-11-13 20:07 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-11-13 20:07:27 UTC
Build: NetBeans IDE Dev (Build 20071113115357)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b02
OS: Windows XP, 5.1, x86

User Comments: 
To reproduce:

- create web application
- toggle breakpoint in index.jsp (e.g. at <title>)
- start debugger. Page is shown in browser but debugger doesn't stop at breakpoint and the exception is thrown.
Comment 1 Jiri Skrivanek 2007-11-13 20:07:31 UTC
Created attachment 52946 [details]
stacktrace
Comment 2 Martin Entlicher 2007-11-13 22:51:47 UTC
Reproduced with ordinary Java app as well. It's necessary to have a conditional breakpoint with at least two method
invocations.

This regression was caused by issue #108873, the current Evaluator never calls EvaluationContext.methodInvokeDone()
Comment 3 Martin Entlicher 2007-11-13 23:00:13 UTC
It's fixed in trunk:

/shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/Evaluator.java,v  <--  Evaluator.java
new revision: 1.40; previous revision: 1.39
Comment 4 Jiri Skrivanek 2007-11-14 12:57:19 UTC
Verified.