Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322244

Summary: Cannot evaluate expressions that refer to variables of outer class
Product: [Eclipse Project] JDT Reporter: David Pérez <david.perez.ingeniero>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: darin.eclipse
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Pérez CLA 2010-08-10 11:01:45 EDT
Build Identifier: 20100617-1415

Outer fields are shown in the Variable view with the prefix "val$".

For me this is the biggest shortcoming of the debugger.

Reproducible: Always

Steps to Reproduce:
1.Place a breakpoint in a non-static nested class
2.Try to evaluate in the Display view a field that belongs to the outer class
3.It complains that the field cannot be resolved
4.It doesn't work either with the "val$" prefix
Comment 1 Darin Wright CLA 2010-08-10 16:39:04 EDT

*** This bug has been marked as a duplicate of bug 304761 ***