[Lldb-commits] [lldb] [lldb][lldb-dap] explicitly set the expr as an alias for expression. (PR #134562)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 16 08:24:21 PDT 2025


walter-erquinigo wrote:

Probably the default is Auto. I guess we should add an option in the typescript code for selecting the mode. 

And about `:`, I confused you because I set up my debugger to use `:` instead of a backtick.

In this mode, I think it would be great to determine via a quick parsing if the input string is an actual expression or not. What would be nice would be do this:
- If the input string consists of at least two words, then run some quick command parsing to see if it's valid or not. If it's valid, then execute it as a command, otherwise follow the existing code path

what do you think?

https://github.com/llvm/llvm-project/pull/134562


More information about the lldb-commits mailing list