summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbeer Bagul2012-10-05 01:16:17 (EDT)
committer Pawel Piech2012-10-08 16:02:51 (EDT)
commit0a4f6638ce212b8562e40e9ba899d1ee51f93b0f (patch)
tree78a97088ca3a0504312237a47d0340a1d85703de
parente8d0c48cb093184471c422e246685120fb6872f9 (diff)
downloadorg.eclipse.cdt-0a4f6638ce212b8562e40e9ba899d1ee51f93b0f.zip
org.eclipse.cdt-0a4f6638ce212b8562e40e9ba899d1ee51f93b0f.tar.gz
org.eclipse.cdt-0a4f6638ce212b8562e40e9ba899d1ee51f93b0f.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;