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 250759 - [nashorn] Some line breakpoints created during debugging are being ignored on JDK8u40
Summary: [nashorn] Some line breakpoints created during debugging are being ignored on...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 09:44 UTC by Vladimir Riha
Modified: 2015-04-14 03:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (72.72 KB, text/plain)
2015-02-27 09:44 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-02-27 09:44:44 UTC
Created attachment 152271 [details]
IDE log

Please check project [1] and:
 - open test1.js 
 - add line breakpoint to line 54
 - debug project
 - once debugger stops on line 54, add line breakpoint to line 19
 - press Continue, debugger stops on line 19
 - add line breakpoint to line 20
 => debugger does not stop on line 20

If I now debug project again, debugger will stop on line 20 just fine. This works with JDK8u31. Reproducible in trunk as well (Build 201502260001)

I wouldn't consider it as a patch candidate though, it works on next run


Thank you


[1] http://services.netbeans.org/synergy/server/api/attachment.php?id=197

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1
Java: 1.7.0_75; Java HotSpot(TM) Client VM 24.75-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Martin Entlicher 2015-02-27 17:16:50 UTC
Unfortunately, the current trunk build is totally crippled, I'll check the behavior after I'll be able to debug a project.
Comment 2 Martin Entlicher 2015-04-13 14:13:24 UTC
Reproduced.
Comment 3 Martin Entlicher 2015-04-13 16:13:35 UTC
Fixed by changeset:   286618:614439bf6ee2
http://hg.netbeans.org/core-main/rev/614439bf6ee2
Comment 4 Quality Engineering 2015-04-14 03:05:02 UTC
Integrated into 'main-silver', will be available in build *201504140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/614439bf6ee2
User: mentlicher@netbeans.org
Log: #250759: Submit breakpoints for all additional recompiled classes created for the give source file.