Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 325394 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java (+13 lines)
Lines 721-726 Link Here
721
        // If there is a previous lookup job running, cancel it.
721
        // If there is a previous lookup job running, cancel it.
722
        if (fRunningLookupJob != null) {
722
        if (fRunningLookupJob != null) {
723
            fRunningLookupJob.cancel();
723
            fRunningLookupJob.cancel();
724
            if (!eventTriggered && frameData.isIdentical(fRunningLookupJob.fFrameData)) {
725
                // identical location - we are done
726
                return;
727
            }
728
            // cancel running lookup job
729
            fRunningLookupJob.cancel();
730
            // make sure doneStepping() is called even if the job never ran - bug 325394
731
    		if (fRunningLookupJob.fEventTriggered) {
732
    		    // ... but not if this request is event-triggered for the same context (duplicate suspended event)
733
    		    if (!eventTriggered || !fRunningLookupJob.getDmc().equals(frameData.fDmc)) {
734
    		        doneStepping(fRunningLookupJob.getDmc());
735
    		    }
736
    		}
724
        }
737
        }
725
        
738
        
726
        fRunningLookupJob = new LookupJob(frameData, page, eventTriggered);
739
        fRunningLookupJob = new LookupJob(frameData, page, eventTriggered);

Return to bug 325394