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: | Debugger stuck after forced loading of classes not present in VM. | ||
---|---|---|---|
Product: | debugger | Reporter: | Martin Entlicher <mentlicher> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | blaha, mmirilovic, sustaining |
Priority: | P1 | Keywords: | REGRESSION, SIMPLEFIX |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Test application |
Description
Martin Entlicher
2009-07-22 10:41:34 UTC
The fix is to remove the fix of issue #51387. I'll submit a defect for JPDA. Created attachment 85058 [details]
Test application
Steps to reproduce: 1) Add the attached application to a project and add two line breakpoints to lines 24 and 32. 2) Debug the application, thread "main" gets suspended at line 24. 3) Open Debug -> Evaluate Expression, write "new java.util.Random().nextDouble()" into the Evaluator and press Evaluate button (or CTRL-ENTER). 4) Resume "main" thread in Debugging window or run Continue in 6.8 dev builds. 5) All threads are running, but the second breakpoint is not being hit. 6) Stop debugger, uncomment line 22 and repeat steps 1-5 again. Now the second breakpoint is hit as expected. Fixed in changeset: 138866:c4838a04bece http://hg.netbeans.org/main/rev/c4838a04bece v. The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/f14948deb3b0 Integrated into 'main-golden', will be available in build *200907230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c4838a04bece User: mentlicher@netbeans.org Log: #168949 - Do not try to load classes into the debuggee VM, since this breaks debugging. Verified in 6.7.1 (Build 200907230233) FYI: I've submitted bug http://bugs.sun.com/view_bug.do?bug_id=6866927 for JDK. |