[Lazarus] "Running" a library

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri Sep 14 18:56:56 CEST 2012

leledumbo wrote:
> Currently, if we have a library project, there's no way to test it without
> creating 2nd project which is an application. Should Lazarus implement
> something like V$ does? i.e. when "Run" is executed on a library project,
> the IDE then ask for an executable to run (the executable uses the library,
> so it will step into the library eventually). I have no idea whether gdb
> supports something like this or not.

Couldn't this be specified as the "Launching application" parameter?

I think a fair question is whether a library can be built in such a way 
that it can also be started as a program, i.e. can be invoked in such a 
way as to test its own basic functionality.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list