[Lazarus] Conditional Breakpoints - are they supported yet?

Martin Frb lazarus at mfriebe.de
Thu Mar 5 23:58:24 CET 2015


On 05/03/2015 22:33, Graeme Geldenhuys wrote:
> On 2015-03-05 21:26, Martin Frb wrote:
>> Just tested, condition on strings are not possible.
>>
>> gdb see the string as pointer, and compares the address.
>> This condition would work (if you have the desired address)
>> str=0x5a0b40
> Thanks for testing and the info.
>
> I'm about to test, but first need to update my Lazaurs. Would any of
> this be fixable/possible via the fpdebuger? Surely we shouldn't have the
> same problems as GDB - the whole reason of creating fpdebug? Or is
> conditional breakpoints something not yet implemented in fpdebug?

fixable: yes.

Not sure if conditions are implemented at all in fpdebug yet.

And also there is still prenty of work on expressions. that is watches 
are currently identifier only. Most operators have yet to be 
implemented. But once they are it should work.

-------------------
Theoretical in gdb it should be possible (zero based!!!)
(s[0]='<')and(s[1]='a')and(....)

But it does not work due to an bug in the IDE part.





More information about the Lazarus mailing list