From 9f2e6528cc46ff36184e772ff769f9d55649b0e4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Apr 2026 21:34:31 +0000 Subject: [PATCH 1/3] Initial plan From ce4c8385d2c052345c419bf5b560233a1a08118d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Apr 2026 21:55:41 +0000 Subject: [PATCH 2/3] Fix dereferencePointers not respected at startup by propagating settings on session activation Agent-Logs-Url: https://github.com/vadimcn/codelldb/sessions/2d77fc55-aeb7-4c22-a79d-bddc4ee65bb6 Co-authored-by: vadimcn <3203809+vadimcn@users.noreply.github.com> --- extension/adapterSettingsManager.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extension/adapterSettingsManager.ts b/extension/adapterSettingsManager.ts index 7b65bd36..fa4cdc90 100644 --- a/extension/adapterSettingsManager.ts +++ b/extension/adapterSettingsManager.ts @@ -54,10 +54,12 @@ export class AdapterSettingsManager extends DisposableSubscriber { this.status.hide(); this.subscriptions.push(debug.onDidChangeActiveDebugSession(session => { - if (session && session.type == 'lldb') + if (session && session.type == 'lldb') { this.status.show(); - else + this.propagateDisplaySettings(); + } else { this.status.hide(); + } })); this.propagateDisplaySettings(); From f1d10a0b91ae425c64acfca0ac484a0fb8573436 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 04:48:37 +0000 Subject: [PATCH 3/3] Revert redundant propagateDisplaySettings call on session activation _adapterSettings are already sent as part of the debug configuration for launch/attach via resolveDebugConfiguration (main.ts:294), which includes all display settings (dereferencePointers, displayFormat, etc.). These are processed by common_init_session in the adapter. The extra propagateDisplaySettings call on session activation was unnecessary. Agent-Logs-Url: https://github.com/vadimcn/codelldb/sessions/20d6e375-30ce-4dfb-b353-2e6fa33f1b53 Co-authored-by: vadimcn <3203809+vadimcn@users.noreply.github.com> --- extension/adapterSettingsManager.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/extension/adapterSettingsManager.ts b/extension/adapterSettingsManager.ts index fa4cdc90..7b65bd36 100644 --- a/extension/adapterSettingsManager.ts +++ b/extension/adapterSettingsManager.ts @@ -54,12 +54,10 @@ export class AdapterSettingsManager extends DisposableSubscriber { this.status.hide(); this.subscriptions.push(debug.onDidChangeActiveDebugSession(session => { - if (session && session.type == 'lldb') { + if (session && session.type == 'lldb') this.status.show(); - this.propagateDisplaySettings(); - } else { + else this.status.hide(); - } })); this.propagateDisplaySettings();