Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 305949

Summary: [launch] Error popup is shown when canceling a progress monitor during launch
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debug-dsf-gdbAssignee: Marc Khouzam <marc.khouzam>
Status: RESOLVED FIXED QA Contact: Marc Khouzam <marc.khouzam>
Severity: normal    
Priority: P3 CC: pawel.1.piech
Version: 6.0Flags: pawel.1.piech: review+
Target Milestone: 7.0   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix marc.khouzam: iplog+

Description Marc Khouzam CLA 2010-03-15 23:11:41 EDT
Created attachment 162125 [details]
Fix

During a DSF-GDB launch, if the progress monitor is canceled an error popup is shown because we don't catch the CancellationException thrown by the Sequences we use in GdbLaunchDelegate.

This was described in Bug 248593 comment #13 (with screenshot) and Bug 248593 comment #15
Comment 1 Marc Khouzam CLA 2010-03-15 23:14:14 EDT
Committed to HEAD.

Pawel, is this what you had in mind?
Comment 2 Pawel Piech CLA 2010-03-16 00:27:58 EDT
(In reply to comment #1)
> Pawel, is this what you had in mind?
Yep.  I'm sorry I haven't noticed it some 2 years ago ;-)