[Lldb-commits] [PATCH] D62547: (lldb-vscode) Evaluate expressions as LLDB commands when in REPL mode.
Ivan Hernandez via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 29 07:11:34 PDT 2019
ivanhernandez13 added a comment.
Yep you're right, Xcode doesn't have that capability.
Unfortunately there is no standard way of doing this. Lanza filed a feature request to add a standard way to the DAP. Also looks like he looked into how other extensions do this:
> vscode-cpptools - Prefix the command with -exec e.g. -exec target list
> vscode-lldb - The specs is actually ignored and evaluate actually evaluated the lldb command. You must prefix your Debug Console command with ? in order to get the spec's evaluation requirements.
> lldb-vscode - Prefix the command with a backtick. 'target list.
> code-debug - Same as vscode-lldb, ignores the spec and provides the debugger command prompt instead.
(copied from the DAP feature request thread)
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62547/new/
https://reviews.llvm.org/D62547
More information about the lldb-commits
mailing list