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 171732 - can not create a new watch for the same expression
Summary: can not create a new watch for the same expression
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: DBX-Gui (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: ivan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 16:19 UTC by Alexander Pepin
Modified: 2010-06-11 00:19 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 Alexander Pepin 2009-09-08 16:19:23 UTC
Steps to reproduce:
- create any project e.g. Welcome
- set SunStudio tool collection
- do step into project
- create a new watch (e.g. argc)
- create one more watch for the same expression (argc)
Result: A new watch does not appear in Watches table until a user re-opens Watches window. After that user can see
something like "Duplicate of 2" instead of the second expression value.
Comment 1 Egor Ushakov 2009-09-21 15:02:19 UTC
same behavior in SunStudio
Comment 2 Egor Ushakov 2009-09-23 13:02:48 UTC
postponed until we have dbx support in NB
Comment 3 Vladimir Voskresensky 2009-10-05 13:34:47 UTC
move dbx related issues into dbx-gui component
Comment 4 Vladimir Voskresensky 2009-10-05 14:29:18 UTC
mark issues as not fixed
Comment 5 ivan 2010-06-11 00:18:55 UTC
This is true in solstudio as well.
Dbx emits an error on duplicate watches and displays. That makes sense.
The interaction debuggercore watch mechanism and the need to reasonably
handle errors when dbx is started make presentation of this duplication error
tricky to design.
A separate issue is that the watches view is missing an update on this
"duplicate error". It appears only when the view is closed/opened, or
another watch is added or the user steps etc.