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 240183 - Breakpoint in one <eval.js> is active in others
Summary: Breakpoint in one <eval.js> is active in others
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on: 239382
Blocks:
  Show dependency tree
 
Reported: 2014-01-10 08:47 UTC by Jaroslav Tulach
Modified: 2014-01-13 19:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2014-01-10 08:47:20 UTC
While verifying bug 239382, I realized that if I place breakpoint to 2nd line of <eval.js> it gets hit everytime one executes another JavaScript snippet. 

That is not very appropriate, ideally the breakpoint should only be active in its own snippet.

To reproduce follow instructions of issue 239382. Get the project:

https://netbeans.org/bugzilla/attachment.cgi?id=143072

Debug the test.

When the breakpoint is hit look at the string to evaluate and step into JavaScript. Place breakpoint at line 2 (or something).

Continue. The breakpoint is hit everytime one calls the eval method.
Comment 1 Martin Entlicher 2014-01-10 09:00:49 UTC
I see.
Comment 2 Martin Entlicher 2014-01-13 19:06:44 UTC
Fixed by changeset:   270472:381a88bc3f79
http://hg.netbeans.org/core-main/rev/381a88bc3f79