================
@@ -787,7 +787,7 @@
         {
           "id": "lldb-dap.modules",
           "name": "Modules",
-          "when": "inDebugMode && debugType == 'lldb-dap'",
+          "when": "inDebugMode && debugType == 'lldb-dap' && 
lldb-dap.showModules",
----------------
ashgti wrote:

Can we also add a welcome view for this when its empty and still displayed? 

https://code.visualstudio.com/api/references/contribution-points#contributes.viewsWelcome
 covers those but a basic welcome message could be:

```json
    "viewsWelcome": [
      {
        "view": "lldb-dap.modules",
        "contents": "No modules are loaded for the active debug session."
      }
    ]
```

It should hide as soon as the tree view has contents.

https://github.com/llvm/llvm-project/pull/140603
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to