View | Details | Raw Unified | Return to bug 141027 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/debug/core/model/JDIStackFrame.java (-6 / +11 lines)
Lines 148-159 Link Here
148
				return null;
148
				return null;
149
			} else if (fDepth == depth) {
149
			} else if (fDepth == depth) {
150
				Location location = frame.location();
150
				Location location = frame.location();
151
				if (location.method().equals(fLocation.method())) {
151
				try {
152
					// TODO: what about receiving type being the same?
152
					if (location.sourceName().equals(fLocation.sourceName()) && 
153
					fStackFrame = frame;
153
							location.method().equals(fLocation.method())) {
154
					fLocation = location;
154
						// TODO: what about receiving type being the same?
155
					clearCachedData();
155
						fStackFrame = frame;
156
					return this;
156
						fLocation = location;
157
						clearCachedData();
158
						return this;
159
					}
160
				} catch (AbsentInformationException e) {
161
					JDIDebugPlugin.log(e);
157
				}
162
				}
158
			}
163
			}
159
			// invalidate this franme
164
			// invalidate this franme

Return to bug 141027