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 216784 - Handle errors that occurred while debugging
Summary: Handle errors that occurred while debugging
Status: VERIFIED FIXED
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-13 10:54 UTC by Vladimir Riha
Modified: 2012-11-22 16:01 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-13 10:54:21 UTC
Currently, if there is an error in your javascript code, the debugging simply stops (finish) on the trouble line without saying what's wrong. For example, assume following:

  document.getElementById('loadingScreen').style.visibility = "hidden";

Now if the document doesn't contain element with this ID, this code triggers "TypeError: Cannot read property 'style' of null" but it is not indicated in IDE in any way.

Product Version: NetBeans IDE Dev (Build EaselCSS-480-on-20120813)
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-11-20 20:33:16 UTC
Works fine now thanks to Browser log

Product Version: NetBeans IDE Dev (Build web-main-9272-on-20121120)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
Runtime: Java(TM) SE Runtime Environment 1.7.0-b147
System: Linux version 3.5.0-18-generic running on amd64; UTF-8; en_US (nb)
Comment 2 Martin Entlicher 2012-11-21 14:03:36 UTC
O.K. Yes, was fixed.
Comment 3 Vladimir Riha 2012-11-22 16:01:35 UTC
v.