<HTML dir=ltr><HEAD></HEAD>
<BODY bgColor=#ffffff text=#000000 ocsi="x">
<DIV dir=ltr><FONT color=#000000 size=2 face=Tahoma>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.</FONT></DIV>
<DIV>
<DIV class=BodyFragment><FONT size=2>
<DIV class=PlainText> </DIV></FONT></DIV></DIV>
<DIV style="DIRECTION: ltr" id=divRpF187364>
<HR tabIndex=-1>
<FONT color=#000000 size=2 face=Tahoma><B>From:</B> users-bounces@lists.geany.org [users-bounces@lists.geany.org] On Behalf Of Thomas Martitz [thomas.martitz@student.htw-berlin.de]<BR><B>Sent:</B> Tuesday, July 09, 2013 7:05 AM<BR><B>To:</B> Geany general discussion list<BR><B>Subject:</B> Re: [Geany-Users] set working directory for debug<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<DIV class=moz-cite-prefix>Am 09.07.2013 13:56, schrieb Drake, Johnathan:<BR></DIV>
<BLOCKQUOTE type="cite">
<STYLE>.EmailQuote {
        BORDER-LEFT: #800000 2px solid; PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt
}
</STYLE>

<STYLE title=owaParaStyle><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></STYLE>

<DIV dir=ltr><FONT color=#000000 size=2 face=Tahoma>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:</FONT></DIV>  
<DIV dir=ltr><BR></DIV></BLOCKQUOTE><BR><BR>You separate gdb arguments from application arguments using the --args argument. <BR><BR>E.g. gdb <gdb_arguments> --args <program_arguments> <program><BR></DIV></BODY></HTML>