From 0a4f6638ce212b8562e40e9ba899d1ee51f93b0f Mon Sep 17 00:00:00 2001 From: Abeer Bagul Date: Fri, 5 Oct 2012 10:46:17 +0530 Subject: [PATCH] Bug 391185 - Do not cancel running source lookup job if framedata is identical Change-Id: I879e640e976a1c1279587416e615356e596aaf1e --- .../cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java index 5e322b82711..d5c16747f9e 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java @@ -8,6 +8,7 @@ * Contributors: * IBM Corporation - initial API and implementation * Wind River Systems - initial API and implementation + * Tensilica (Abeer Bagul) - fix for bug 391185 *******************************************************************************/ package org.eclipse.cdt.dsf.debug.ui.sourcelookup; @@ -749,7 +750,6 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl private void startLookupJob(final FrameData frameData, final IWorkbenchPage page, boolean eventTriggered) { // If there is a previous lookup job running, cancel it. if (fRunningLookupJob != null) { - fRunningLookupJob.cancel(); if (!eventTriggered && frameData.isIdentical(fRunningLookupJob.fFrameData)) { // identical location - we are done return;