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: | Local Variables not updated at breakpoint | ||
---|---|---|---|
Product: | debugger | Reporter: | _ gordonp <gordonp> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mmirilovic |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ gordonp
2008-03-25 19:39:51 UTC
Reproduced. This has worked before, I'm going to find out what went wrong... reproducible with simple Java project Product Version: NetBeans IDE Dev (Build 200803250006) Java: 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 10.0-b19 System: Linux version 2.6.22-14-generic running on amd64; UTF-8; en_US (nb) This regression has happend between builds from Mar 17 and Mar 19. There is no build from Mar 18 available. This was caused by: http://hg.netbeans.org/main/rev/38b5511118d7 Specifically: --- a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/CallStackFrameImpl.java Tue Mar 18 15:57:05 2008 +0100 +++ b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/CallStackFrameImpl.java Tue Mar 18 16:22:42 2008 +0100 @@ -256,12 +256,12 @@ public class CallStackFrameImpl implemen if (local instanceof Local) { Local localImpl = (Local) local; localImpl.setFrame(this); - localImpl.setInnerValue(v); + //localImpl.setInnerValue(v); localImpl.setClassName(className); } else { ObjectLocalVariable localImpl = (ObjectLocalVariable) local; localImpl.setFrame(this); - localImpl.setInnerValue(v); + //localImpl.setInnerValue(v); localImpl.setClassName(className); } locals[i] = local; We need to assure that the variable obtained from ObjectTranslation is always up-to-date. Thus it's fixed by this changeset: 75651:bc00ca7715e0 http://hg.netbeans.org/main/rev/bc00ca7715e0 Verified Product Version: NetBeans IDE Dev (Build 200803302302) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Verified also on JDK6 Product Version: NetBeans IDE Dev (Build 200803302302) Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) |