[lazarus] debugging

Marc Weustink weus at quicknet.nl
Wed Jul 5 03:34:19 EDT 2000


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

marc









More information about the Lazarus mailing list