Forum > Beginners

After installing my new design package Lazarus stopped running.

(1/2) > >>

dmitryb:
Hi All
I wrote my new Design package and tried to install it into the Lazarus IDE (Windows).

After installing it Lazarus stopped running.

On run it appears and immediately disappears from the windows task list.

What can I do?

Best regards
Dmitriy Bolshakov

engkin:
In your Lazarus folder there is a copy of your previous executable. Make another copy of it and use it to start Lazarus.

dmitryb:
Thank you.

I run lazarus.old.exe and removed my 'bad' package from the installed packages.
lazarus.exe runs now.
But how can I debug what is wrong with my package?
I think a problem is in the procedure Register.

Blaazen:
We can't say until we can look to the code.
But procedure Register only adds component + icon to the palette, it can hardly crash Lazarus.

You can try to add units of your package to a new project and create component at run-time (via code). You can add to your code:

--- Code: ---DebugLn('some message');
--- End code ---
to suspicious places and watch output.

engkin:
You can open Lazarus project just like any other project. See here

Navigation

[0] Message Index

[#] Next page

Go to full version