[Lazarus] Debugging shared libraries

ik idokan at gmail.com
Wed Sep 19 12:04:49 CEST 2012

On Wed, Sep 19, 2012 at 10:39 AM, Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> wrote:
> Mark Morgan Lloyd wrote:
>> I've developed a useful convention which allows me to either load a
>> library on demand (via Dynlibs) or to link it statically. This combination
>> allows me to use standard Lazarus debugging techniques to sort out most
>> problems.
>> However, yesterday's discussion about calling /from/ a dynamically-loaded
>> library /into/ a program binary (other than the main program) raises an
>> interesting question: can Lazarus+gdb be persuaded to trace into a shared
>> library?
> Does anybody have any thoughts on this? Martin?

I haven't tried to do it with gdb, however, I'm a big "fan" of
printing stuff into log files with much verbose as possible to figure
out things.
I hardly use a debugger, and usually use this technique.

> --
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
> [Opinions above are the author's, not those of his employers or colleagues]
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

More information about the Lazarus mailing list