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 119184 - shouldn't allow adding empty watches
Summary: shouldn't allow adding empty watches
Status: CLOSED DUPLICATE of bug 64524
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 09:18 UTC by zn_cn_2
Modified: 2010-04-29 09:36 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 zn_cn_2 2007-10-17 09:18:12 UTC
when debugging, open the New Watch dialog, don't input anything in the "Watch Expression" text field, and click ok, 
then an empty watch was added into the watches list table. the Name and Type column of THIS WATCH is empty, the Value 
column is the following(between the dashes(not included)): 
---------------------------------------------
>Encountered "<EOF>" at line 0, column 0.
Was expecting one of:
    "++" ...
    "--" ...
    "+" ...
    "-" ...
    "~" ...
    "!" ...
    <INTEGER_LITERAL> ...
    <FLOATING_POINT_LITERAL> ...
    <CHARACTER_LITERAL> ...
    <STRING_LITERAL> ...
    "true" ...
    "false" ...
    "null" ...
    "this" ...
    <IDENTIFIER> ...
    "super" ...
    "(" ...
    "new" ...
    "void" ...
    "boolean" ...
    "char" ...
    "byte" ...
    "short" ...
    "int" ...
    "long" ...
    "float" ...
    "double" ...
    <
---------------------------------------------
Comment 1 zn_cn_2 2007-10-17 09:34:47 UTC
this bug was only happened when I was debugging some project. At normal status, I can't add empty watches, so that's 
why I think this is a bug :)
Comment 2 Martin Entlicher 2007-10-17 10:17:52 UTC
This is a dupl. of issue #64524.

*** This issue has been marked as a duplicate of 64524 ***
Comment 3 Quality Engineering 2010-04-29 09:36:13 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.