Problem with current dir in debugger

Andreas Pakulat apaku at gmx.de
Tue Jun 24 09:55:50 BST 2008


On 24.06.08 11: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?

Which application to execute is set in the "Run" settings, thats also
what the debugger plugin will use to start the application.

And no there's no way in KDevelop3 to automate switching the binary, as
debug/optimized setting is a special feature of autotools and not
present in other buildtools in this way.

Andreas

-- 
You will visit the Dung Pits of Glive soon.




More information about the KDevelop mailing list