Problem with current dir in debugger
ghost at cs.msu.su
Tue Jun 24 09:47:00 BST 2008
On Tuesday 24 June 2008 12:03:28 Leon Pollak wrote:
> On Tuesday, 24 בJune 2008, Vladimir Prus wrote:
> > On Tuesday 24 June 2008 10:59:27 Leon Pollak wrote:
> > > Hello.
> > >
> > > After running the debugger I ask it about the current directory (pwd) in
> > > the gdb window.
> > > The answer is always the same: .../optimized and does not depend on the
> > > build configuration which is currently chosen.
> > >
> > > Where is the clue?
> > Build configuration does not have any effect on debugger. It's the debugger
> > settings that specify which binary to run, and which directory should
> > be current.
> > - Volodya
> Sorry, Vladimir, I do not understand.
> Where are the debugger settings which define:
> 1. "binary to run"? The debugger icon in "Project Options" been pressed seems
> not to give such an option.
> 2. "which directory should be current". The same - where can I define this?
See the "Project->Project Options->Run Options". It has both "Executable"
and "Working Directory" input fields.
More information about the KDevelop