[all-commits] [llvm/llvm-project] 0ea19b: [lldb-dap] Emit declarations along with variables ...

Walter Erquinigo via All-commits all-commits at lists.llvm.org
Mon Dec 11 12:20:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ea19bd3333af71dd3aaf7c0a6ef9a0930958c12
      https://github.com/llvm/llvm-project/commit/0ea19bd3333af71dd3aaf7c0a6ef9a0930958c12
  Author: Walter Erquinigo <a20012251 at gmail.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
    M lldb/tools/lldb-dap/JSONUtils.cpp

  Log Message:
  -----------
  [lldb-dap] Emit declarations along with variables (#74865)

This is an extension to the protocol that emits the declaration
information along with the metadata of each variable. This can be used
by vscode extensions to implement, for example, a "goToDefinition"
action in the debug tab, or for showing the value of a variable right
next to where it's declared during a debug session.
As this is cheap, I'm not gating this information under any setting.




More information about the All-commits mailing list