Community
Participate
Working Groups
Build ID: M20080221-1800 Steps To Reproduce: Create a breakpoint in org.eclipse.core.runtime.Plugin.class, line 353, in method getPluginPreferences, which looks like this: preferencesCopy[0] = new org.eclipse.core.internal.preferences.legacy.PreferenceForwarder(this, bundleCopy.getSymbolicName()); Edit the breakpoint properties to create this condition: "bundleCopy == null" Do it by typing "bund" and pressing CTRL-SPACE. The content assistant will find "bundleCopy" Save the breakpoint with the nice new properties. Start up an instance of Eclipse in debug mode. When the VM tries to run over that line, a dialog appears: TITLE: Conditional Breakpoint Error Detail: Conditional breakpoint has compilation error(s). Reason: bundleCopy cannot be resolved. More information:
+1 I have seen several similar problems. With method parameters the problem is often the same, although I notice in such cases the parameter will show up in the "Variables" view as argN, where N is the index of the param in the parameter list. Interestingly, the watchpoint expression seems ok with this. I saw this occur for example in CopyOnWriteArrayList in the SDK. Perhaps it's not shipping with full symbols active? Also, there are problems resolving types. For example if want to say "foo instanceof org.eclipse.core.resources.IResource" it will often show up fine in the content assist of the breakpoint editor but then result in an unresolved expression error at runtime.
Just noticed that 3.2.2 was set as the version. I have seen my behaviour in 3.4M5.
This is a dup of bug 45507. Evaluations in inner classes currently cannot access variables from the enclosing scope. *** This bug has been marked as a duplicate of bug 45507 ***