[Lldb-commits] [PATCH] D62547: (lldb-vscode) Evaluate expressions as LLDB commands when in REPL mode.
Nathan Lanza via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 29 14:58:44 PDT 2019
lanza added a comment.
Yup, clayborg and I talked about the solution I discuss in that request. The hopeful eventual goal is for this communication:
- DAP host: can you support attaching to a pty?
- lldb-vscode: yes
- DAP host: okay, use `/dev/pty123`
- lldb-vscode: `Debugger:RunCommandInterpreter(/dev/pty123)`
and then all of this nonsense goes away.
I do think, however, that it would be reasonable to swap the backtick usage for the current command prompt. e.g. `target list` in the `Debug Console` pane would run the lldb command `target list` and `'someVaraible` would instead evaluate the variable. Then you could submit the completion PR. Why do you think, @clayborg? I think you'd have to handle the `hover` sub-request differently, though.
CHANGES SINCE LAST ACTION
More information about the lldb-commits