Problems running/debugging applications
Andras Mantia
amantia at kde.org
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?
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20061207/1e3a7728/attachment.sig>
More information about the KDevelop-devel
mailing list