[Lazarus] Debugging libraries which define generics.

Martin Frb lazarus at mfriebe.de
Fri Dec 15 19:33:49 CET 2017


On 15/12/2017 18:29, Martin Frb via Lazarus wrote:
> On 15/12/2017 15:46, Donald Ziesig via Lazarus wrote:
>>
>>  1. When the mouse hovers over a variable, the debugger (and program
>>     being debugged) frequently crashes with the error:
>>     "-data-evaluate-expression TCQPiece(ITEM)^" did not return any
>>     result.
>>     This is particularly annoying because it inevitably happens just
>>     as I am getting close to finding a problem and I move the mouse
>>     across the editor window :'(.
>>
>> These problems do not occur when debugging non-generic code.
>>
> This is an issue in gdb.
>
> First make sure to use dward (debug info).
^^^ "dwarf"
>
> You can try (if it currently compiles / its a package, install it)  
> lazdebuggerfpgdbmi.lpk  (must be the one with gdbmi *and* fp)
just remembered, not sure if this works for libraries (.so). You may 
have to compile an app that includes the code directly.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171215/f4421cd3/attachment.html>


More information about the Lazarus mailing list