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 151640

Summary: Two different watches for 'this'
Product: cnd Reporter: Alexander Pepin <apepin>
Component: DebuggerAssignee: _ gordonp <gordonp>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot
gdb log

Description Alexander Pepin 2008-10-28 18:41:26 UTC
While debugging a real-life application I observed two inconsistent Watches for 'this'(see attached screenshot).
My steps were:
- set a PB in one class method
- created a Watch for 'this'
- did step into method of another class
Result: I could see under 'this' only primitive type members of the class. When I created the second watch for 'this' it
showed all members of the class
Comment 1 Alexander Pepin 2008-10-28 18:42:36 UTC
Created attachment 72795 [details]
screenshot
Comment 2 Alexander Pepin 2008-10-28 18:44:57 UTC
Created attachment 72796 [details]
gdb log
Comment 3 _ gordonp 2009-01-05 23:13:08 UTC
The fix for this issue is similar to the fix for 151631 and 156172. Its one more field in
TypeInfo which needs to be reset for a Watch (the "map" field). The changeset is
http://hg.netbeans.org/main/rev/567e350aca22.
Comment 4 jinb 2009-01-07 19:40:47 UTC
QA, please verify this fix till 14-Jan-2009, so it can be part of NB 6.5 patch 2.
Comment 5 Alexander Pepin 2009-01-13 13:29:49 UTC
verified in build 20090113092345
Comment 6 Alexander Pepin 2009-01-13 15:17:29 UTC
It would be nice to have the fix in NB 6.5 patch
Comment 7 Alexander Pepin 2009-01-14 14:27:44 UTC
verified in NB6.5 with provided jar files
Comment 8 jinb 2009-01-14 17:43:52 UTC
Cumulative backport of fixes of IZ 151481(rebackport), 151577, 151610, 153473, 151640, 151761, 155487, 151631, 133134
provided by developer.
Backported into release65_fixes branch
http://hg.netbeans.org/release65_fixes/rev/84a0c7175a4b
Comment 9 Alexander Pepin 2009-01-19 15:22:36 UTC
verified in patch2