[Lldb-commits] [PATCH] D134333: When there are variable errors, display an error in VS Code's local variables view.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 23 12:55:29 PDT 2022


clayborg added a comment.

I just did a search through our test sources and we use GetError().GetCString() 34 times in our test suites python files. So the SBError::GetCString() is being misused a lot like this already and is probably making some tests flaky. I would highly recommend we fix SBError::GetCString() to make sure things work correctly. If people are already doing this, or if they can do this with our API, then we should make our API as stable as possible for users even if it costs a bit more memory in our string pools.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134333/new/

https://reviews.llvm.org/D134333



More information about the lldb-commits mailing list