br list doesn't show conditions

20 views
Skip to first unread message

mron

unread,
Mar 2, 2021, 2:10:43 PM3/2/21
to CodeLLDB Users
Screen Shot 2021-03-02 at 10.49.48 AM.png

I'm trying to break on a condition. It does not break. If I add a Log command, the debugger executes the log request when the condition is met. It won't break when the condition is met.

How do I see the conditions ? br list doest seem to show them.



Vadim

unread,
Mar 2, 2021, 2:59:29 PM3/2/21
to CodeLLDB Users
Please see the manual section about expressions.   Looks like you are debugging a C++ binary, in which case  you may want to try "native" expressions.  
I would recommend first stooping on that line unconditionally and evaluating your condition in the debug console to check whether it produces the value you expect.
If you are on Windows, also see this.

Vadim

unread,
Mar 2, 2021, 3:03:31 PM3/2/21
to CodeLLDB Users
How do I see the conditions ? br list doest seem to show them.

 Hover mouse over the breakpoint, or edit it.  Codelldb uses API hooks to evaluate conditions, so 'br list' won't show them.

Reply all
Reply to author
Forward
0 new messages