| Summary: | [attach][remote] Cancelling a remote attach causes a bad debug session | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> | ||||
| Component: | cdt-debug-dsf-gdb | Assignee: | Marc Khouzam <marc.khouzam> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Marc Khouzam <marc.khouzam> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug, pawel.1.piech | ||||
| Version: | 8.0 | Flags: | marc.khouzam:
review?
(pawel.1.piech) |
||||
| Target Milestone: | 8.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Marc Khouzam
(In reply to comment #0) > If I press Cancel, the launch gets messed up. Actually, the launch is not "messed up", but gdb does not have the binary and the debug session will not work very nicely. I think we should abort the entire attach. Created attachment 196598 [details]
Fix to cancel the attach when the user presses the Cancel button
A simple check to see if the user pressed the Cancel button when being prompted for a binary. If so, we simply return gracefully, which cancels the attempt at attaching.
Committed to HEAD for user-friendliness. Pawel can you review? *** cdt cvs genie on behalf of mkhouzam *** Bug 347163: Canceling a remote attach causes a bad debug session [*] GdbConnectCommand.java 1.11 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java?root=Tools_Project&r1=1.10&r2=1.11 |