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 33673 - Verification should be added to New Watch dialog
Summary: Verification should be added to New Watch dialog
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-16 06:15 UTC by sva
Modified: 2007-02-13 14:34 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sva 2003-05-16 06:15:48 UTC
Steps to reproduce:

1. Open generated servlet for JSP.
2. Add breakpoint and start debugger.
3. Wait while debugger stops on breakpoint.
4. Select some line of code (for example, use "int i = 
5;") and press Ctrl+Shift+F7 to open New Watch dialog.
5. Press OK button.

Result: watch "int i = 5; = >Lexical error..." appear in 
Watches window.

Expected result: IDe should warn user, about incorrect 
value of watch.

P.S. Also, it's allowed to add empty watch. To reproduce: 
open New Watch dialog, do not fill "name" field and press 
OK button. IDE should warn user about empty string.

Reproduced with Nevada build 030502.
Comment 1 ehucka 2007-02-13 14:34:00 UTC
It is allowed to add one watch many times too. It is not a bug but debugger can
check duplicate watches and either block a new watch or show a warning message.