[Lldb-commits] [lldb] [lldb-dap] Emit more structured info along with variables (PR #75244)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 12 18:24:40 PST 2023


================
@@ -1103,28 +1116,52 @@ std::string CreateUniqueVariableNameForDisplay(lldb::SBValue v,
 //                       can use this optional information to present the
 //                       children in a paged UI and fetch them in chunks."
 //     }
+//
+//
+//     // Unofficial extensions to the protocol:
+//
----------------
clayborg wrote:

Do we want to add these inside of an object with a unique name that VS code will never use? Like:
```
{ "$__lldb_extensions": { 
    "inMemoryValue": true, 
    "summary": "...", 
    "autoSummary": "..." 
  }
}
```

https://github.com/llvm/llvm-project/pull/75244


More information about the lldb-commits mailing list