1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Bug 436893 - workspace should be renamed for Standalone Debugger

- workspace is now workspace-cdtdebug

Change-Id: I04e9285a385308c5b3911c64bb175b07f8ed407d
Reviewed-on: https://git.eclipse.org/r/28207
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
This commit is contained in:
Jeff Johnston 2014-06-07 12:35:37 -04:00
parent a02bedd48e
commit 333128a63a
2 changed files with 8 additions and 7 deletions

View file

@ -13,13 +13,13 @@ The script uses relative directories so you cannot run the script from any other
The install script will create a cdtdebugger directory in your $HOME directory. This The install script will create a cdtdebugger directory in your $HOME directory. This
directory will contain a config.ini file, a dev.properties file, and a cdtdebug.sh script. directory will contain a config.ini file, a dev.properties file, and a cdtdebug.sh script.
The cdtdebug.sh script will start the debugger from the command-line. It does not The cdtdebug.sh script will start the debugger from the command-line. The cdtdebug.sh script
have relative directories so you can move it around as you like. does not have to be located in the cdtdebugger directory and can be moved if you prefer.
The script takes a few options which are mentioned below: The script takes a few options which are mentioned below:
-data : workspace to use for your Eclipse session if you do not want the default -data : workspace to use for your Eclipse session if you do not want the default
$HOME/workspace-gdbstandalone $HOME/workspace-cdtdebug
-consoleLog : if you want error messages reported directly to the command console -consoleLog : if you want error messages reported directly to the command console
@ -38,15 +38,16 @@ The script takes a few options which are mentioned below:
not precede any other arguments as they will be treated as arguments not precede any other arguments as they will be treated as arguments
to main. to main.
If no -a or -e option is specified, the last executable debugged will be offered for If no -a or -e option is specified, the last executable debugged via -e will be offered for
debugging. Otherwise, if this is the first time, a dialog will be presented to enter debugging. Otherwise, if this is the first time, a dialog will be presented to enter
an executable, build log, and program arguments. an executable, build log, and program arguments.
e.g. sh ~/cdtdebugger/cdtdebug.sh -b ~/build.log ~/myproject/bin/a.out arg1 arg2 e.g. sh ~/cdtdebugger/cdtdebug.sh -b ~/build.log ~/myproject/bin/a.out arg1 arg2
The cdtdebug.sh script that is found in the plug-in can also be run directly, but only The cdtdebug.sh script that is found in the plug-in can also be run directly, but only
in this scripts directory as it uses relative directories to find the Eclipse instance and from the scripts directory as it uses relative directories to find the Eclipse instance and
the plugins directory. the plugins directory. The one installed in the cdtdebugger directory replaces these
relative directory references with absolute ones.
e.g. sh ./cdtdebug.sh -b ~/build.log ~/myproject/bin/a.out arg1 arg2 e.g. sh ./cdtdebug.sh -b ~/build.log ~/myproject/bin/a.out arg1 arg2

View file

@ -26,7 +26,7 @@ LINUX_PLUGIN=`echo $LINUX_JAR | sed -e "s/_[0-9]*\..*.jar//"`
cd ..; ECLIPSE_HOME=`pwd` cd ..; ECLIPSE_HOME=`pwd`
cd $olddir cd $olddir
$ECLIPSE_HOME/eclipse -clean -product org.eclipse.cdt.debug.application.product \ $ECLIPSE_HOME/eclipse -clean -product org.eclipse.cdt.debug.application.product \
-data $HOME/workspace-gdbstandlone -configuration file\:$HOME/cdtdebugger \ -data $HOME/workspace-cdtdebug -configuration file\:$HOME/cdtdebugger \
-dev file\:$HOME/cdtdebugger/dev.properties $@ \ -dev file\:$HOME/cdtdebugger/dev.properties $@ \
-vmargs -Dosgi.jar=$OSGI_JAR -Dswt.plugin=$SWT_PLUGIN -Dfs.plugin=$FS_PLUGIN \ -vmargs -Dosgi.jar=$OSGI_JAR -Dswt.plugin=$SWT_PLUGIN -Dfs.plugin=$FS_PLUGIN \
-Dlinux.plugin=$LINUX_PLUGIN -Declipse.home=$ECLIPSE_HOME -Dlinux.plugin=$LINUX_PLUGIN -Declipse.home=$ECLIPSE_HOME