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.
Summary: | Pinned watch displays 'argc =' instead of 'argc = 5' | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | Debugger | Assignee: | Maria Tishkova <mromashova> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2017-03-28 13:45:20 UTC
Is it reproducible for NetBeans only? No. I can reproduce this bug with Studio+Dbx too. The problem was not about Value column. They are different for Netbeans(gdb) and Studio(dbx). GDB: the problem was the value for incorrect GdbWatch was return in NativePinWatchValueProvider. The iterator took the first GdbWatch with the pinned expression and returned its value. That is incorrect. It should return value for the correct GdbWatch that has Watch inside with the Pin. As a result for gdb fix is just check for equals instead of equals for expression. DBX: for Dbx the problem was the pinned watch was a duplicate and was excluded from update watch value cycle. Fixed in enum for gdb: changeset: 315001:e73cdd405423 branch: release82 tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Fri Mar 31 00:23:04 2017 +0300 summary: fixed bz#270230 - Pinned watch displays 'argc =' instead of 'argc = 5' Fixed in sputnik for dbx: changeset: 28411:8a148197b92f tag: tip parent: 28367:9032d69bb406 user: Maria Dalmatova <maria.tishkova@oracle.com> date: Fri Mar 31 00:28:13 2017 +0300 summary: fixed bz#270230 - Pinned watch displays 'argc =' instead of 'argc = 5' Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a0cf5e465ca0 User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#270230 - Pinned watch displays 'argc =' instead of 'argc = 5' the problem was we had 2 WatchVariable with the same expression but they were created for different Watch objects as watch in Variables view was created earlier it was returned as a result of NativePinWatchValueProvider but as Variables view was closed the value was not recieved from the GDB, but it was ready for the second WatchVariable with the same expression but different Watch inside which were created for Pinned tooltip (transplanted from e73cdd4054237bb67b84dba3d89a7b1159ee0788) Integrated into 'main-silver', will be available in build *201704080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b36026d0aaa4 User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#270230 - Pinned watch displays 'argc =' instead of 'argc = 5' https://netbeans.org/bugzilla/show_bug.cgi?id=270230 Changesets: http://hg.netbeans.org/releases/rev/e73cdd405423 # fixed bz#270230 - Pinned watch displays 'argc =' instead of 'argc = 5' Verified in NetBeans IDE 8.2 (Build 201704181436) |