[Lazarus] Debugging shared libraries

Henry Vermaak henry.vermaak at gmail.com
Wed Sep 19 12:30:14 CEST 2012


On 16/09/12 14:26, 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?

Whenever I've tried, Lazarus hasn't had any problems stepping into my
libraries (written in C).  I usually don't use a debugger, though, so my
experience is limited.

Henry




More information about the Lazarus mailing list