vogelsgesang wrote:

Semi-related: I wonder if we should have a way to set the language from within 
the condition expression itself. E.g. a `\language{C} a + b` prefix. That would 
allow us to also use those conditions from, e.g., lldb-dap where the UI only 
provides a way to enter a single expression for conditional breakpoints, but no 
additional parameters.

We might also want to support something similar, e.g., in the watch panel where 
users can also only enter expressions.

E.g., CodeLLDB (the other DAP implementation besides lldb-dap) provides a 
similar mechanism which also covers breakpoint conditions, documented over 
here: https://github.com/vadimcn/codelldb/blob/master/MANUAL.md#expressions

I wonder if those "expression prefixes" should be part of lldb / the new 
upcoming DIL language itself or layered on top of it by lldb-dap...

https://github.com/llvm/llvm-project/pull/147603
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to