[Lldb-commits] [PATCH] D62547: (lldb-vscode) Evaluate expressions as LLDB commands when in REPL mode.

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 29 06:16:05 PDT 2019


labath added a comment.

In D62547#1520849 <https://reviews.llvm.org/D62547#1520849>, @ivanhernandez13 wrote:

> labath - As an Xcode user I was used to simply typing an lldb command, I made this change locally to better replicate Xcode’s behavior. I do however, see the issue with inconsistent behavior that this would introduce and I’m not certain there is a good solution for that.


Yes, but Xcode doesn't (I guess, I don't really use xcode) allow you to type just a variable name to see the variable (you have to type "print var" or something), so there's no conflict there. That's why emulating Xcode might not be the best idea here...

It might be interesting to see what other vscode DAP backends do in this situation (if there are any to which we can compare to -- I also don't really use vscode, so I don't know :P ). It would be nice to be consistent with them at least...


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