On 03/29/2015 11:39 PM, Graeme Geldenhuys wrote: > On 2015-03-27 12:45, JuuS wrote: >> Would be nice to have it in my current environment too...if >> possible. > > > There is a simple solution indeed. The following works on all platforms > and will give the same result as your BreakIf() did. > > " > var > testvar: integer; > [...] > if b then > testvar:= 0; //<<<--- set a breakpoint here > "
D'oh! Good one. This is one of those "why didn't I think of that" moments... > In order to remove the test statements use "testvar" in 'Search'-'Find > in Files'-'Text to find'. > > > I use this work-around because Condition Breakpoints still ain't fully > implemented in Lazarus IDE or MSEide. > > > Regards, > - Graeme - > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
