[lazarus] debugging
Stefan Hille
stoppok at osibisa.ms.sub.org
Wed Jul 5 19:03:42 EDT 2000
On Wed, Jul 05, 2000 at 12:48:37AM +0200, Marc Weustink wrote:
> At 13:18 30-06-2000 +0200, Stefan Hille wrote:
> >
> >Q: I can debug now but ddd does not find my sources or complains
> > that they contain no code. Whats that?
> >A: These seems to be a path-related problem with either gdb or ddd. To work
> > around this you can use the "Change directory" command from the ddd menu
> > and choose the directory where the sources are located.
> > The drawback of this method is that you now can't use the source of the
> > program you started with (e.g. lazarus). Thus it may be neccessary to
> > change the directory multiple times.
>
> You can create a $(HOME)/.gdbinit file like:
>
> directory /your/path/to/lazarus
> directory /your/path/to/lazarus/lcl
> directory /your/path/to/lazarus/lcl/include
> directory /your/path/to/lazarus/lcl/interfaces/gtk
Thanks Marc, I'll try that although I already have these settings in ddd.
I'll report if it's successful.
bye,
Stefan
--
---------------------------------------------------------
Stefan Hille email: stoppok at osibisa.ms.sub.org
48155 Muenster voice: 0251/664695
More information about the Lazarus
mailing list