[Lazarus] Default debug mode and internal debugger

Joost van der Sluis joost at cnoc.nl
Sat Dec 6 21:40:51 CET 2014


On 12/04/2014 04:29 PM, Mattias Gaertner wrote:
> On Thu, 4 Dec 2014 16:11:54 +0100
> Reimar Grabowski <reimgrab at web.de> wrote:
>
>> if you let the IDE create debug and release build modes for you the resulting debug mode sets the -Xg flag (GDB external debug symbols file).
>> The internal debugger does not work with this set and complains about not finding debug symbols.
>> Perhaps the default debug mode should not set this flag so that both debuggers get at least the chance to work.
>
> Or add a capability flag to the debugger class for external debug
> symbols. If the current debugger does not support it, the IDE does not
> pass the flag.

Same holds for stabs-debug info. And yes, a capability flag would be nice.

Regards,
   Joost.





More information about the Lazarus mailing list