[Lazarus] BreakIf
JuuS
JuuS at mykolab.ch
Fri Mar 27 13:45:31 CET 2015
Good morning, all...
>From my Delphi days we had the following procedure:
procedure BreakIf( b : Boolean );
begin
if b then
asm
INT 3 <======debugger would then stop here
and one could then F8 step to the offending
routine based on the boolean condition passed
end;
end;
I believe this is windows specific (?) and I'm now working on Linux
machines.
The question is:
This does not work in Linux and I wonder if there is a similar way to
achieve this in Linux environment?
It's like making an on-the-fly breakpoint, and was amazingly useful.
This was a really good way to debug loops and for/do's simply and
effectively. Would be nice to have it in my current environment too...if
possible.
Julius
More information about the Lazarus
mailing list