[Lldb-commits] [lldb] [lldb][lldb-dap] show modules pane if supported by the adapter (PR #140603)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon May 19 16:03:51 PDT 2025
================
@@ -70,9 +71,21 @@ export class DebugSessionTracker
/** Clear information from the active session. */
private onExit(session: vscode.DebugSession) {
this.modules.delete(session);
+ // close when there is no more sessions
+ if (this.modules.size <= 0) {
----------------
JDevlieghere wrote:
Maybe this is common in Javascript and I just don't know, but why not just check `== 0`?
https://github.com/llvm/llvm-project/pull/140603
More information about the lldb-commits
mailing list