1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/launch/org.eclipse.cdt.docker.launcher
Marc Dumais 7f6e7f8c9b Bug 510615 - Launch dialog, handle spaces in gdb path
The path to GDB is set in the launch dialog, under the Debugger tab. If
the path to GDB contains one or more spaces, and is not within double
quotes, GDB will not be found and the launch will fail. 

This patch improves the use cases around the "Browse" button, to select
GDB's path. 

1) if the user clicks on the "Browse" button, the browse dialog will
open in the correct place, no matter the presence of space(s).
2) When GDB's path is selected with the "Browse" button, it's then set
in the "GDB debugger" field. This patch looks at the selected path and
adds surrounding double quotes if there is any space within, and strips
any double quotes if there are no spaces. 


Change-Id: I202f574772965af3a491d449b9e9a97e8c61e2b0
2017-02-07 09:48:23 -05:00
..
.settings Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
icons Add missing icon to CDT Docker Launch plug-in. 2015-06-02 19:44:46 -04:00
META-INF Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
src/org/eclipse/cdt Bug 510615 - Launch dialog, handle spaces in gdb path 2017-02-07 09:48:23 -05:00
.classpath Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
.gitignore Add Docker launching support 2015-05-19 13:53:27 -04:00
.project Add Docker launching support 2015-05-19 13:53:27 -04:00
about.html Add Docker launching support 2015-05-19 13:53:27 -04:00
build.properties Add Docker launching support 2015-05-19 13:53:27 -04:00
plugin.properties Add Docker launching support 2015-05-19 13:53:27 -04:00
plugin.xml Add Docker launching support 2015-05-19 13:53:27 -04:00
pom.xml Update version to 9.3.0 2016-11-15 20:32:51 -05:00