On Mon, 06 Jun 2016 22:43:04 +0200 Marc Santhoff <[email protected]> wrote:
> On Mo, 2016-06-06 at 20:18 +0300, Juha Manninen wrote: > > On Monday, June 6, 2016, Marc Santhoff <[email protected]> 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. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
