[Lazarus] Conditional Debugger breakpoints not working ?

Martin Frb lazarus at mfriebe.de
Tue Feb 21 13:14:20 CET 2023


On 20/02/2023 15:14, Michael Van Canneyt via lazarus wrote:
>
> On Mon, 20 Feb 2023, Martin Frb via lazarus wrote:
>
>>
>> It is a problem on Mac, with LLDB. Though I am not even sure that 
>> conditional breakpoint are supported at all...
Just checked, conditions are set. But users must type them C-style. That 
is "a == 1".

>
> They are:
> https://stackoverflow.com/questions/37204551/lldb-setting-conditional-breakpoint-with-string-equality-as-condition 
>

That looks like it actually invokes strcmp() in the debugged exe. Which 
then depends on an fpc generated app having that function, and having 
sufficient debug info to have it found.

The GDB $_streq on the other hand is an gdb intrinsic.


More information about the lazarus mailing list