[Lldb-commits] [lldb] [lldb-dap] Improving 'variables' hover requests. (PR #146773)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 3 10:23:18 PDT 2025
jimingham wrote:
I don't know how you are doing this, but if you are treating "hover over" requests as expressions and presenting the result of some real expression evaluation, you have to be quite careful about what you evaluate. For instance, you want to make sure that hovering over
` i++
`
Doesn't actually evaluate that expression. Hover-overs really shouldn't be allowed to change program state or they will lead to all sorts of odd behaviors.
https://github.com/llvm/llvm-project/pull/146773
More information about the lldb-commits
mailing list