summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbeer Bagul2012-10-05 01:16:17 (EDT)
committer Pawel Piech2012-10-08 16:04:18 (EDT)
commita8f24558610feb5082369ec8ba972209ab68d4c6 (patch)
tree2a2795184fd0fe7a2de2265dfe6cb444fa36b336
parentd6cf0f1418b2edda731d659e8d848dec5af95d1e (diff)
downloadorg.eclipse.cdt-a8f24558610feb5082369ec8ba972209ab68d4c6.zip
org.eclipse.cdt-a8f24558610feb5082369ec8ba972209ab68d4c6.tar.gz
org.eclipse.cdt-a8f24558610feb5082369ec8ba972209ab68d4c6.tar.bz2
Bug 391185 - Do not cancel running source lookup job if framedata is identical
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java2
1 files changed, 1 insertions, 1 deletions
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 5e322b8..d5c1674 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;