[Geany-Users] set working directory for debug

Drake, Johnathan johnathan.drake at xxxxx
Tue Jul 9 15:25:46 UTC 2013


It appears from the debugger plugin source that it gets the path from the target to be used as the working directory (dbm_gdb.c:721).  The commandline arguments that can be input in the debugger plugin appear to be used as only inputs to the target application so adding the --cd option doesn't do anything for me.

________________________________
From: users-bounces at lists.geany.org [users-bounces at lists.geany.org] On Behalf Of Thomas Martitz [thomas.martitz at student.htw-berlin.de]
Sent: Tuesday, July 09, 2013 7:05 AM
To: Geany general discussion list
Subject: Re: [Geany-Users] set working directory for debug

Am 09.07.2013 13:56, schrieb Drake, Johnathan:
Thanks for the reply Matthew.  the command line arguments appear to be arguments for my target application so I wasn't able to change directories via that method.  However, when I press the run button, i get several messages showing in the terminal window where I launched Geany.  Those messages are:




You separate gdb arguments from application arguments using the --args argument.

E.g. gdb <gdb_arguments> --args <program_arguments> <program>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20130709/6f894dd9/attachment.html>


More information about the Users mailing list