[Lazarus] programming and testing ide design time package

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 6 22:48:11 CEST 2016

On Mon, 06 Jun 2016 22:43:04 +0200
Marc Santhoff <M.Santhoff at web.de> wrote:

> On Mo, 2016-06-06 at 20:18 +0300, Juha Manninen wrote:
> > On Monday, June 6, 2016, Marc Santhoff <M.Santhoff at web.de> wrote:
> > >
> > > The code is written and compiled. Then it needs to be installed in the
> > > IDE and tested. How can I do it in a handy way?
> > >
> > 
> > You can debug the IDE by opening lazarus.lpi project and pressing F9.
> > Lazarus must be built with debug info before that.
> > Another way to debug is by adding DebugLn() calls and checking their output
> > in console or log file.

Hint: you can have multiple Lazarus instances, using the --pcp command
line switch.

> OK, so there is no other way but actually compiling the extension in.

Well, you can create a project and compile your extension into that. Of
course than you can only test a few parts.

> What I will try is to make the shim between IDE coupling an the rest as
> thin as possible, so anything else can be tested separately before.

Good idea.


More information about the Lazarus mailing list