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 216649 - Load event listener stops incorrectly
Summary: Load event listener stops incorrectly
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 09:26 UTC by Vladimir Riha
Modified: 2013-08-07 09:55 UTC (History)
1 user (show)

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 Vladimir Riha 2012-08-10 09:26:43 UTC
Please, try the sampleApp.zip from Easel wiki page:
- add event listener for Load-load
- run the file debugger.html
=> code execution is stopped twice, for the first time there is no line highlighted, but you have to press Continue(F5) and after that the execution stops properly in jQuery file.

If you reload the page in browser, it stopped only once (and correctly) so it could be related to running the file from IDE


Product Version: NetBeans IDE Dev (Build EaselCSS-474-on-20120810)
Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.0.0-23-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2012-08-10 09:37:53 UTC
Another similar case:
- add load-load event breakpoint 
- run file
(it may have stopped just once as it should)
- disable the breakpoint (uncheck in Breakpoints window)
- run file again

=> again 2 stops while there should be none
Comment 2 Martin Entlicher 2013-08-07 09:55:10 UTC
The behavior is correct.
For me it stops at jquery-1.7.1.js:417 and then at some function "h", for which it does not have sources.
Chrome's developer tools behave the same way, but it somehow manage to find out the source code, which it displays as "[VM] (55)".
From the content, I've found out, that the file is probably xregexp-min.js

I'm keeping this opened for now to explore if there's a way how to find out the source code and display it in NetBeans.