| Summary: | [remote][attach] Wrong path keeps being re-used after user inputs wrong but valid binary when attaching | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> | ||||
| Component: | cdt-debug-dsf-gdb | Assignee: | Project Inbox <cdt-debug-dsf-gdb-inbox> | ||||
| Status: | ASSIGNED --- | QA Contact: | Jonah Graham <jonah> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug, pawel.1.piech | ||||
| Version: | 8.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Marc Khouzam
Created attachment 200304 [details]
First fix to only store path on success
This fix simply waits until we confirm that the attach succeeded before storing the path into our map. That way, for an invalid path, we won't store it.
This does not fix the problem of the user inputing a wrong but valid binary. In that case, we will need a new UI action to allow the user to clear the map. Can't put that in cdt_8_0 anyway. For master, I was thinking of an action in the DebugView context menu only visible for remote-attach sessions.
I will commit the current patch to master and cdt_8_0
I'm not going to work on the extra improvement just yet. No time. *** cdt git genie on behalf of 353005 ***
Bug 353005: [remote][attach] Wrong path keeps being re-used after user mistaken when attaching
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=03824cc6cad59d39222b3770c31bed766f33a873
*** cdt git genie on behalf of 353005 ***
Bug 353005: [remote][attach] Wrong path keeps being re-used after user mistaken when attaching
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=32ce139214d585d7a1576d641850f8133855b258
|