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 238979 - Exception thrown by instance properties shouldn't popup a window
Summary: Exception thrown by instance properties shouldn't popup a window
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-29 17:36 UTC by jeanfrancoisdenise
Modified: 2013-11-29 17:49 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 jeanfrancoisdenise 2013-11-29 17:36:09 UTC
It appears that, during a debugging session, all the properties of the current instance are retrieved in order to be displayed in the Variables tab.


If one of these properties throw an Exception then a popup window is displayed and refreshed on each step.

This exception should be caught and displayed as the value of the properties in the variables tab.

This has been observed for instance with property getter tha tare actually executing some code. For example, in avatar.js, when a deprecated member is accessed, avatar.js is throwing an Exception.
Comment 1 Martin Entlicher 2013-11-29 17:49:41 UTC
This is similar to issue #225959.
I agree that no popup window should be displayed from Variables. Any problem in target code can be displayed as a variable value.