Problems running/debugging applications

Andras Mantia amantia at
Thu Dec 7 20:15:06 UTC 2006

On Thursday 07 December 2006 21:59, Matthew Woehlke wrote:
> The second part is harder. First, it would be helpful if, instead of
> just running the app with 'var=val var=val app args', it was possible
> to source a user-specified shell script first. That is, the command
> line would need to look like 'var=val; var=val; export var var; .
> script; app args'. Secondly, /none/ of this is used by gdb, meaning
> that while I can do some ugly var setting (PATH='bin/`uname`_`uname
> -m`:$PATH', for example) and get the app to run, I am unable to debug
> it because gdb doesn't inherit these settings. Why not?

Create a script that you run instead of your application. The script's 
last line will run the application. ;-)

This is for running. For debugging, there is something like "debugging 
shell". Can't you use that one?


Quanta Plus developer -
K Desktop Environment -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the KDevelop-devel mailing list