[Lazarus] How to use Lazrus IDE as a test case?

Martin lazarus at mfriebe.de
Fri Jun 24 17:16:08 CEST 2011


On 24/06/2011 17:07, Hans-Peter Diettrich wrote:
> Currently I want to modify a component, that also is used in the IDE. 
> Consequently I want to use the IDE as a test case, covering many 
> issues not found in simple test programs. Now I ran into a strange 
> problem:
"test case" as in "automated test", or as in "application to test within" ?

>
> When I want to debug Lazarus.lpi, it seems to behave properly, but 
> when I then rebuild the IDE, it exposes a different behaviour, e.g. 
> hangs on startup :-(
press "pause" and see where?
>
> I already tried to rebuild the IDE *without* making it the new 
> Lazarus.exe, but even then Lazarus.lpi behaves differently from 
> Lazarus.new.exe :-(
Not sure what you mean....

>
> What can I do, to debug Lazarus.new.exe or equivalent?

I usually have no such issues.
- Open project lazarus.lpi (as you have done)
- In "run params", slect the exe you whish to test
- In run params, make sure you use the correct config directory 
(--primary-config-path).






More information about the Lazarus mailing list