Skip to content

Debugging VS Code does not gracefully terminate #244111

@bpasero

Description

@bpasero

Steps:

  • debug VS Code via F5
  • accumulate some state, such as opening editors
  • quit
  • F5 again

=> 🐛 UI state is lost

When I enable tracing I can see that the shutdown is different when debugged vs. when not. Notice how in the trace without debugging, there is an entry such as:

Lifecycle#onWillShutdown - end 'workspaceStorage'

Which is not present in the F5 debugging.

What could be different when debugging with F5 for shutdown sequencing, are we eventually terminating the debugged process when it takes too long to respond?

Trace with F5 Debugging

2025-03-20 13:05:53.979 [trace] PolicyConfiguration#initialize
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#updatePolicyDefinitions ["update.mode","update.channel","update.showReleaseNotes","http.useLocalProxyConfiguration","http.electronFetch","http.proxy","http.proxyStrictSSL","http.proxyKerberosServicePrincipal","http.noProxy","http.proxyAuthorization","http.proxySupport","http.systemCertificates","http.experimental.systemCertificatesV2","http.fetchAdditionalSupport","telemetry.telemetryLevel","telemetry.disableFeedback","telemetry.enableTelemetry"]
2025-03-20 13:05:53.980 [trace] NativePolicyService#_updatePolicyDefinitions - Found 3 policy definitions
2025-03-20 13:05:53.980 [trace] [File Watcher (node.js)] Request to start watching: /Users/bpasero/.vscode-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/.vscode-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:05:53.980 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#update ["update.mode","telemetry.telemetryLevel","telemetry.disableFeedback"]
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#updatePolicyDefinitions ["update.enableWindowsBackgroundUpdates"]
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#update []
2025-03-20 13:05:53.980 [debug] Starting VS Code
2025-03-20 13:05:53.980 [debug] from: /Users/bpasero/Development/Microsoft/vscode
2025-03-20 13:05:53.980 [debug] args: {"_":[],"diff":false,"merge":false,"add":false,"remove":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"user-data-dir":"/Users/bpasero/.vscode-oss-dev","help":false,"list-extensions":false,"show-versions":false,"pre-release":false,"update-extensions":false,"version":false,"verbose":true,"status":false,"prof-startup":false,"no-cached-data":false,"prof-v8-extensions":false,"disable-extensions":false,"disable-extension":["vscode.vscode-api-tests","vscode.vscode-api-tests"],"disable-lcd-text":false,"disable-gpu":false,"disable-chromium-sandbox":false,"sandbox":false,"telemetry":false,"debugRenderer":false,"enable-smoke-test-driver":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"skip-welcome":false,"disable-telemetry":false,"disable-updates":false,"use-inmemory-secretstorage":false,"disable-workspace-trust":false,"disable-crash-reporter":false,"crash-reporter-directory":"/Users/bpasero/Development/Microsoft/vscode/.profile-oss/crashes","skip-add-to-recently-opened":false,"open-url":false,"file-write":false,"file-chmod":false,"force":false,"do-not-sync":false,"do-not-include-pack-dependencies":false,"trace":false,"trace-memory-infra":false,"preserve-env":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"disable-gpu-sandbox":false,"__enable-file-policy":false,"enable-coi":false,"no-proxy-server":false,"no-sandbox":false,"inspect-brk":"5875","nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"disable-dev-shm-usage":true,"profile-temp":false,"logsPath":"/Users/bpasero/.vscode-oss-dev/logs/20250320T130553"}
2025-03-20 13:05:53.980 [trace] Resolving machine identifier...
2025-03-20 13:05:53.980 [trace] Resolved machine identifier: 0159a966350bb32bcd29ce89258901d45d86541d60978ff308ff7d00e0621147
2025-03-20 13:05:53.980 [trace] Main->SharedProcess#connect
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#updatePolicyDefinitions ["terminal.integrated.automationProfile.linux","terminal.integrated.automationProfile.osx","terminal.integrated.automationProfile.windows","terminal.integrated.profiles.windows","terminal.integrated.profiles.osx","terminal.integrated.profiles.linux","terminal.integrated.useWslProfiles","terminal.integrated.inheritEnv","terminal.integrated.persistentSessionScrollback","terminal.integrated.showLinkHover","terminal.integrated.ignoreProcessNames"]
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#updatePolicyDefinitions ["terminal.integrated.defaultProfile.linux","terminal.integrated.defaultProfile.osx","terminal.integrated.defaultProfile.windows"]
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#update []
2025-03-20 13:05:53.980 [trace] PolicyConfiguration#update []
2025-03-20 13:05:53.980 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/User'
2025-03-20 13:05:53.980 [trace] StorageMainService: creating application storage
2025-03-20 13:05:53.980 [trace] ElectronURLListener: waiting for window to be ready to handle URLs...
2025-03-20 13:05:53.980 [trace] lifecycle (main): phase changed (value: 2)
2025-03-20 13:05:53.980 [trace] windowsManager#open
2025-03-20 13:05:53.980 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/User/settings.json'
2025-03-20 13:05:53.980 [trace] windowsManager#open pathsToOpen [{"workspace":{"id":"a97bd3f7ce96ec26be36e076b940ef3e","configPath":{"$mid":1,"fsPath":"/Users/bpasero/Documents/playground.code-workspace","path":"/Users/bpasero/Documents/playground.code-workspace","scheme":"file"}},"type":1,"exists":true}]
2025-03-20 13:05:53.981 [trace] windowsManager#doOpenFolderOrWorkspace {"folderOrWorkspace":{"workspace":{"id":"a97bd3f7ce96ec26be36e076b940ef3e","configPath":{"$mid":1,"fsPath":"/Users/bpasero/Documents/playground.code-workspace","path":"/Users/bpasero/Documents/playground.code-workspace","scheme":"file"}},"type":1,"exists":true}}
2025-03-20 13:05:54.045 [info] [CSS_DEV] DONE, 264 css modules (62ms)
2025-03-20 13:05:54.046 [trace] IPC Object URL: Registered new channel vscode:74a5b78b-9420-44e6-813f-abb9b335c129.
2025-03-20 13:05:54.046 [trace] window#validateWindowState: validating window state on 1 display(s) {"mode":1,"x":0,"y":44,"width":2484,"height":1223}
2025-03-20 13:05:54.046 [trace] window#validateWindowState: single monitor working area {"x":0,"y":25,"width":2560,"height":1307}
2025-03-20 13:05:54.046 [trace] window#ctor: using window state {"mode":1,"x":0,"y":44,"width":2484,"height":1223}
2025-03-20 13:05:54.091 [trace] window#load: attempt to load window (id: 1)
2025-03-20 13:05:54.095 [trace] StorageMainService: creating workspace storage (a97bd3f7ce96ec26be36e076b940ef3e)
2025-03-20 13:05:54.097 [trace] windowsManager#open used window count 1 (workspacesToOpen: 1, foldersToOpen: 0, emptyToRestore: 0, maybeOpenEmptyWindow: false)
2025-03-20 13:05:54.098 [trace] lifecycle (main): phase changed (value: 3)
2025-03-20 13:05:54.101 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-03-20 13:05:54.101 [info] update#setState disabled
2025-03-20 13:05:54.152 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-03-20 13:05:55.328 [trace] NativePolicyService#_updatePolicyDefinitions - Found 4 policy definitions
2025-03-20 13:05:55.329 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: undefined
2025-03-20 13:05:55.332 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2025-03-20 13:05:55.332 [trace] PolicyConfiguration#onDidChangePolicies []
2025-03-20 13:05:55.332 [trace] PolicyConfiguration#update []
2025-03-20 13:05:55.333 [trace] NativePolicyService#_updatePolicyDefinitions - Found 1 policy definitions
2025-03-20 13:05:55.334 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: undefined
2025-03-20 13:05:55.334 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2025-03-20 13:05:55.334 [trace] PolicyConfiguration#onDidChangePolicies []
2025-03-20 13:05:55.334 [trace] PolicyConfiguration#update []
2025-03-20 13:05:55.500 [trace] window#load: window reported ready (id: 1)
2025-03-20 13:05:55.501 [trace] ElectronURLListener#flush(): flushing URLs
2025-03-20 13:05:56.401 [trace] menubarService#updateMenubar 1
2025-03-20 13:05:56.431 [trace] [SharedProcess] onWindowConnection for: vscode:createSharedProcessChannelConnectionResult
2025-03-20 13:05:56.432 [trace] [UtilityProcess type: shared-process, pid: <none>]: creating new...
2025-03-20 13:05:56.432 [trace] [UtilityProcess type: shared-process, pid: <none>]: payload sent via postMessage()
2025-03-20 13:05:56.433 [trace] [UtilityProcessWorker]: createWorker(window: 1, moduleId: vs/platform/files/node/watcher/watcherMain)
2025-03-20 13:05:56.433 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: <none>]: creating new...
2025-03-20 13:05:56.434 [trace] [UtilityProcess type: shared-process, pid: 28705]: successfully created
2025-03-20 13:05:56.434 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 28706]: successfully created
2025-03-20 13:05:56.602 [trace] lifecycle (main): phase changed (value: 4)
2025-03-20 13:05:56.673 [trace] [SharedProcess] IPC ready
2025-03-20 13:05:56.673 [trace] Main->SharedProcess#connect: connection established
2025-03-20 13:05:56.683 [trace] [File Watcher (node.js)] Request to start watching: /Users/bpasero/.vscode-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/.vscode-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:05:56.684 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/User'
2025-03-20 13:05:56.686 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/User/settings.json'
2025-03-20 13:05:56.691 [trace] [SharedProcess] Overall ready
2025-03-20 13:05:56.707 [trace] [File Watcher (node.js)] Request to start watching: /Users/bpasero/.vscode-oss-dev/extensions (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/.vscode-oss-dev/extensions/extensions.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/.vscode-oss-dev/User/profiles/6ec03154 (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/.vscode-oss-dev/User/profiles/6ec03154/extensions.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:05:56.709 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/extensions'
2025-03-20 13:05:56.718 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/extensions/extensions.json'
2025-03-20 13:05:56.721 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/User/profiles/6ec03154'
2025-03-20 13:05:56.721 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/User/profiles/6ec03154/extensions.json'
2025-03-20 13:06:00.145 [trace] [UtilityProcess id: 1, type: extensionHost, pid: <none>]: creating new...
2025-03-20 13:06:00.154 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-03-20 13:06:00.156 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 28718]: successfully created
2025-03-20 13:06:00.293 [debug] Terminal profile not validated fish ["fish"]
2025-03-20 13:06:00.294 [debug] Terminal profile not validated pwsh ["pwsh"]
2025-03-20 13:06:00.294 [debug] Terminal profile not validated tmux ["tmux"]
2025-03-20 13:06:00.981 [trace] menubarService#updateMenubar 1
2025-03-20 13:06:01.130 [trace] [EncryptionMainService] Checking if encryption is available...
2025-03-20 13:06:01.133 [trace] [EncryptionMainService] Encryption is available:  true
2025-03-20 13:06:01.134 [trace] [EncryptionMainService] Decrypting value...
2025-03-20 13:06:01.134 [trace] [EncryptionMainService] Decrypted value.
2025-03-20 13:06:01.371 [debug] ProxyResolver#loadSystemCertificates count 30
2025-03-20 13:06:01.372 [debug] ProxyResolver#loadSystemCertificates count filtered 30
2025-03-20 13:06:12.401 [trace] menubarService#updateMenubar 1
2025-03-20 13:06:12.814 [trace] Lifecycle#quit() - begin (willRestart: undefined)
2025-03-20 13:06:12.815 [trace] Lifecycle#quit() - calling app.quit()
2025-03-20 13:06:12.815 [trace] Lifecycle#app.on(before-quit)
2025-03-20 13:06:12.815 [trace] Lifecycle#onBeforeShutdown.fire()
2025-03-20 13:06:12.816 [trace] [WindowsStateHandler] onBeforeShutdown {"lastActiveWindow":{"workspaceIdentifier":{"id":"a97bd3f7ce96ec26be36e076b940ef3e","configURIPath":"file:///Users/bpasero/Documents/playground.code-workspace"},"backupPath":"/Users/bpasero/.vscode-oss-dev/Backups/a97bd3f7ce96ec26be36e076b940ef3e","uiState":{"mode":1,"x":0,"y":44,"width":2484,"height":1223}},"lastPluginDevelopmentHostWindow":{"uiState":{"mode":1,"x":0,"y":44,"width":1800,"height":1017}},"openedWindows":[]}
2025-03-20 13:06:12.818 [trace] Lifecycle#window.on('close') - window ID 1
2025-03-20 13:06:12.818 [trace] Lifecycle#unload() - window ID 1
2025-03-20 13:06:12.933 [trace] Lifecycle#onBeforeCloseWindow.fire() - window ID 1
2025-03-20 13:06:13.016 [trace] IPC Object URL: Removed channel vscode:74a5b78b-9420-44e6-813f-abb9b335c129.
2025-03-20 13:06:13.017 [trace] Lifecycle#window.on('closed') - window ID 1
2025-03-20 13:06:13.017 [trace] Lifecycle#onWillShutdown.fire()
2025-03-20 13:06:13.018 [trace] Lifecycle#onWillShutdown - begin 'instanceLockfile'
2025-03-20 13:06:13.018 [trace] storageMainService#onWillShutdown()
2025-03-20 13:06:13.018 [trace] Lifecycle#onWillShutdown - begin 'applicationStorage'
2025-03-20 13:06:13.018 [trace] Lifecycle#onWillShutdown - begin 'workspaceStorage'
2025-03-20 13:06:13.018 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 28718]: waiting to exit...
2025-03-20 13:06:13.019 [trace] Lifecycle#onWillShutdown - begin 'extHostStarter'
2025-03-20 13:06:13.019 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 28706]: attempting to kill the process...
2025-03-20 13:06:13.022 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 28706]: successfully killed the process
2025-03-20 13:06:13.022 [trace] Lifecycle#app.on(window-all-closed)
2025-03-20 13:06:13.023 [trace] Lifecycle#app.on(will-quit) - begin
2025-03-20 13:06:13.029 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 28718]: received exit event with code 0
2025-03-20 13:06:13.029 [info] Extension host with pid 28718 exited with code: 0, signal: unknown.
2025-03-20 13:06:13.029 [trace] Lifecycle#onWillShutdown - end 'extHostStarter'
2025-03-20 13:06:13.030 [trace] Lifecycle#onWillShutdown - end 'instanceLockfile'
2025-03-20 13:06:13.031 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 28706]: received exit event with code 0
2025-03-20 13:06:13.031 [trace] [UtilityProcessWorker]: terminated normally with code 0, signal: unknown
2025-03-20 13:06:13.033 [trace] [File Watcher (node.js)] Request to stop watching: /Users/bpasero/.vscode-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/.vscode-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:06:13.033 [trace] [File Watcher (node.js)] stopping file watcher (/Users/bpasero/.vscode-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>))
2025-03-20 13:06:13.034 [trace] [File Watcher (node.js)] stopping file watcher (/Users/bpasero/.vscode-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>))
2025-03-20 13:06:13.034 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: undefined

Trace without F5 Debugging

2025-03-20 13:07:05.836 [trace] PolicyConfiguration#initialize
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#updatePolicyDefinitions ["update.mode","update.channel","update.showReleaseNotes","http.useLocalProxyConfiguration","http.electronFetch","http.proxy","http.proxyStrictSSL","http.proxyKerberosServicePrincipal","http.noProxy","http.proxyAuthorization","http.proxySupport","http.systemCertificates","http.experimental.systemCertificatesV2","http.fetchAdditionalSupport","telemetry.telemetryLevel","telemetry.disableFeedback","telemetry.enableTelemetry"]
2025-03-20 13:07:05.836 [trace] NativePolicyService#_updatePolicyDefinitions - Found 3 policy definitions
2025-03-20 13:07:05.836 [trace] [File Watcher (node.js)] Request to start watching: /Users/bpasero/Library/Application Support/code-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/Library/Application Support/code-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:07:05.836 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#update ["update.mode","telemetry.telemetryLevel","telemetry.disableFeedback"]
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#updatePolicyDefinitions ["update.enableWindowsBackgroundUpdates"]
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#update []
2025-03-20 13:07:05.836 [debug] Starting VS Code
2025-03-20 13:07:05.836 [debug] from: /Users/bpasero/Development/Microsoft/vscode
2025-03-20 13:07:05.836 [debug] args: {"_":[],"diff":false,"merge":false,"add":false,"remove":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"help":false,"list-extensions":false,"show-versions":false,"pre-release":false,"update-extensions":false,"version":false,"verbose":true,"status":false,"prof-startup":false,"no-cached-data":false,"prof-v8-extensions":false,"disable-extensions":false,"disable-extension":["vscode.vscode-api-tests"],"disable-lcd-text":false,"disable-gpu":false,"disable-chromium-sandbox":false,"sandbox":false,"telemetry":false,"debugRenderer":false,"enable-smoke-test-driver":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"skip-welcome":false,"disable-telemetry":false,"disable-updates":false,"use-inmemory-secretstorage":false,"disable-workspace-trust":false,"disable-crash-reporter":false,"skip-add-to-recently-opened":false,"open-url":false,"file-write":false,"file-chmod":false,"force":false,"do-not-sync":false,"do-not-include-pack-dependencies":false,"trace":false,"trace-memory-infra":false,"preserve-env":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"disable-gpu-sandbox":false,"__enable-file-policy":false,"enable-coi":false,"no-proxy-server":false,"no-sandbox":false,"nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"disable-dev-shm-usage":false,"profile-temp":false,"logsPath":"/Users/bpasero/Library/Application Support/code-oss-dev/logs/20250320T130705"}
2025-03-20 13:07:05.836 [trace] Resolving machine identifier...
2025-03-20 13:07:05.836 [trace] Resolved machine identifier: 0159a966350bb32bcd29ce89258901d45d86541d60978ff308ff7d00e0621147
2025-03-20 13:07:05.836 [trace] Main->SharedProcess#connect
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#updatePolicyDefinitions ["terminal.integrated.automationProfile.linux","terminal.integrated.automationProfile.osx","terminal.integrated.automationProfile.windows","terminal.integrated.profiles.windows","terminal.integrated.profiles.osx","terminal.integrated.profiles.linux","terminal.integrated.useWslProfiles","terminal.integrated.inheritEnv","terminal.integrated.persistentSessionScrollback","terminal.integrated.showLinkHover","terminal.integrated.ignoreProcessNames"]
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#updatePolicyDefinitions ["terminal.integrated.defaultProfile.linux","terminal.integrated.defaultProfile.osx","terminal.integrated.defaultProfile.windows"]
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#update []
2025-03-20 13:07:05.836 [trace] PolicyConfiguration#update []
2025-03-20 13:07:05.836 [trace] StorageMainService: creating application storage
2025-03-20 13:07:05.836 [trace] ElectronURLListener: waiting for window to be ready to handle URLs...
2025-03-20 13:07:05.836 [trace] lifecycle (main): phase changed (value: 2)
2025-03-20 13:07:05.836 [trace] windowsManager#open
2025-03-20 13:07:05.837 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/Library/Application Support/code-oss-dev/User'
2025-03-20 13:07:05.837 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/Library/Application Support/code-oss-dev/User/settings.json'
2025-03-20 13:07:05.838 [trace] windowsManager#open pathsToOpen [{"workspace":{"id":"a97bd3f7ce96ec26be36e076b940ef3e","configPath":{"$mid":1,"fsPath":"/Users/bpasero/Documents/playground.code-workspace","path":"/Users/bpasero/Documents/playground.code-workspace","scheme":"file"}},"type":1,"exists":true}]
2025-03-20 13:07:05.838 [trace] windowsManager#doOpenFolderOrWorkspace {"folderOrWorkspace":{"workspace":{"id":"a97bd3f7ce96ec26be36e076b940ef3e","configPath":{"$mid":1,"fsPath":"/Users/bpasero/Documents/playground.code-workspace","path":"/Users/bpasero/Documents/playground.code-workspace","scheme":"file"}},"type":1,"exists":true}}
2025-03-20 13:07:05.906 [info] [CSS_DEV] DONE, 264 css modules (66ms)
2025-03-20 13:07:05.907 [trace] IPC Object URL: Registered new channel vscode:56745346-0a03-465d-b476-1b81b9ce30ec.
2025-03-20 13:07:05.907 [trace] window#validateWindowState: validating window state on 1 display(s) {"mode":1,"x":0,"y":25,"width":2560,"height":1307}
2025-03-20 13:07:05.907 [trace] window#validateWindowState: single monitor working area {"x":0,"y":25,"width":2560,"height":1307}
2025-03-20 13:07:05.907 [trace] window#ctor: using window state {"mode":1,"x":0,"y":25,"width":2560,"height":1307}
2025-03-20 13:07:05.944 [trace] window#load: attempt to load window (id: 1)
2025-03-20 13:07:05.948 [trace] StorageMainService: creating workspace storage (a97bd3f7ce96ec26be36e076b940ef3e)
2025-03-20 13:07:05.948 [trace] windowsManager#open used window count 1 (workspacesToOpen: 1, foldersToOpen: 0, emptyToRestore: 0, maybeOpenEmptyWindow: false)
2025-03-20 13:07:05.948 [trace] lifecycle (main): phase changed (value: 3)
2025-03-20 13:07:05.948 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-03-20 13:07:05.949 [info] update#setState disabled
2025-03-20 13:07:06.009 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-03-20 13:07:07.122 [trace] NativePolicyService#_updatePolicyDefinitions - Found 4 policy definitions
2025-03-20 13:07:07.123 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: undefined
2025-03-20 13:07:07.123 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2025-03-20 13:07:07.123 [trace] PolicyConfiguration#onDidChangePolicies []
2025-03-20 13:07:07.123 [trace] PolicyConfiguration#update []
2025-03-20 13:07:07.124 [trace] NativePolicyService#_updatePolicyDefinitions - Found 1 policy definitions
2025-03-20 13:07:07.124 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: undefined
2025-03-20 13:07:07.124 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2025-03-20 13:07:07.124 [trace] PolicyConfiguration#onDidChangePolicies []
2025-03-20 13:07:07.124 [trace] PolicyConfiguration#update []
2025-03-20 13:07:07.258 [trace] window#load: window reported ready (id: 1)
2025-03-20 13:07:07.258 [trace] ElectronURLListener#flush(): flushing URLs
2025-03-20 13:07:07.326 [trace] menubarService#updateMenubar 1
2025-03-20 13:07:07.352 [trace] [UtilityProcess id: 1, type: extensionHost, pid: <none>]: creating new...
2025-03-20 13:07:07.354 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 28968]: successfully created
2025-03-20 13:07:07.408 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-03-20 13:07:07.459 [debug] Terminal profile not validated fish ["fish"]
2025-03-20 13:07:07.459 [debug] Terminal profile not validated tmux ["tmux"]
2025-03-20 13:07:07.459 [debug] Terminal profile not validated pwsh ["pwsh"]
2025-03-20 13:07:08.078 [trace] menubarService#updateMenubar 1
2025-03-20 13:07:08.089 [trace] [EncryptionMainService] Checking if encryption is available...
2025-03-20 13:07:08.111 [trace] [EncryptionMainService] Encryption is available:  true
2025-03-20 13:07:08.119 [trace] [EncryptionMainService] Decrypting value...
2025-03-20 13:07:08.119 [trace] [EncryptionMainService] Decrypted value.
2025-03-20 13:07:08.273 [debug] ProxyResolver#loadSystemCertificates count 30
2025-03-20 13:07:08.274 [debug] ProxyResolver#loadSystemCertificates count filtered 30
2025-03-20 13:07:08.453 [trace] lifecycle (main): phase changed (value: 4)
2025-03-20 13:07:08.852 [trace] [SharedProcess] onWindowConnection for: vscode:createSharedProcessChannelConnectionResult
2025-03-20 13:07:08.852 [trace] [UtilityProcess type: shared-process, pid: <none>]: creating new...
2025-03-20 13:07:08.852 [trace] [UtilityProcess type: shared-process, pid: <none>]: payload sent via postMessage()
2025-03-20 13:07:08.853 [trace] [UtilityProcess type: shared-process, pid: 29063]: successfully created
2025-03-20 13:07:09.073 [trace] [SharedProcess] IPC ready
2025-03-20 13:07:09.073 [trace] Main->SharedProcess#connect: connection established
2025-03-20 13:07:09.081 [trace] [File Watcher (node.js)] Request to start watching: /Users/bpasero/Library/Application Support/code-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/Library/Application Support/code-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:07:09.082 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/Library/Application Support/code-oss-dev/User'
2025-03-20 13:07:09.082 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/Library/Application Support/code-oss-dev/User/settings.json'
2025-03-20 13:07:09.087 [trace] [SharedProcess] Overall ready
2025-03-20 13:07:09.104 [trace] [File Watcher (node.js)] Request to start watching: /Users/bpasero/.vscode-oss-dev/extensions (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/.vscode-oss-dev/extensions/extensions.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:07:09.106 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/extensions'
2025-03-20 13:07:09.112 [trace] [File Watcher (node.js)] Started watching: '/Users/bpasero/.vscode-oss-dev/extensions/extensions.json'
2025-03-20 13:07:09.115 [trace] [UtilityProcessWorker]: createWorker(window: 1, moduleId: vs/platform/files/node/watcher/watcherMain)
2025-03-20 13:07:09.115 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: <none>]: creating new...
2025-03-20 13:07:09.122 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 29078]: successfully created
2025-03-20 13:07:09.627 [trace] menubarService#updateMenubar 1
2025-03-20 13:07:13.498 [trace] menubarService#updateMenubar 1
2025-03-20 13:07:13.934 [trace] Lifecycle#quit() - begin (willRestart: undefined)
2025-03-20 13:07:13.935 [trace] Lifecycle#quit() - calling app.quit()
2025-03-20 13:07:13.935 [trace] Lifecycle#app.on(before-quit)
2025-03-20 13:07:13.935 [trace] Lifecycle#onBeforeShutdown.fire()
2025-03-20 13:07:13.936 [trace] [WindowsStateHandler] onBeforeShutdown {"lastActiveWindow":{"workspaceIdentifier":{"id":"a97bd3f7ce96ec26be36e076b940ef3e","configURIPath":"file:///Users/bpasero/Documents/playground.code-workspace"},"backupPath":"/Users/bpasero/Library/Application Support/code-oss-dev/Backups/a97bd3f7ce96ec26be36e076b940ef3e","uiState":{"mode":1,"x":0,"y":25,"width":2560,"height":1307}},"lastPluginDevelopmentHostWindow":{"uiState":{"mode":1,"x":0,"y":44,"width":1800,"height":1017}},"openedWindows":[]}
2025-03-20 13:07:13.937 [trace] Lifecycle#window.on('close') - window ID 1
2025-03-20 13:07:13.937 [trace] Lifecycle#unload() - window ID 1
2025-03-20 13:07:14.033 [trace] Lifecycle#onBeforeCloseWindow.fire() - window ID 1
2025-03-20 13:07:14.064 [trace] IPC Object URL: Removed channel vscode:56745346-0a03-465d-b476-1b81b9ce30ec.
2025-03-20 13:07:14.065 [trace] Lifecycle#window.on('closed') - window ID 1
2025-03-20 13:07:14.065 [trace] Lifecycle#onWillShutdown.fire()
2025-03-20 13:07:14.066 [trace] Lifecycle#onWillShutdown - begin 'instanceLockfile'
2025-03-20 13:07:14.067 [trace] storageMainService#onWillShutdown()
2025-03-20 13:07:14.067 [trace] Lifecycle#onWillShutdown - begin 'applicationStorage'
2025-03-20 13:07:14.067 [trace] Lifecycle#onWillShutdown - begin 'workspaceStorage'
2025-03-20 13:07:14.067 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 28968]: waiting to exit...
2025-03-20 13:07:14.067 [trace] Lifecycle#onWillShutdown - begin 'extHostStarter'
2025-03-20 13:07:14.067 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 29078]: attempting to kill the process...
2025-03-20 13:07:14.070 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 29078]: successfully killed the process
2025-03-20 13:07:14.070 [trace] Lifecycle#app.on(window-all-closed)
2025-03-20 13:07:14.070 [trace] Lifecycle#app.on(will-quit) - begin
2025-03-20 13:07:14.077 [trace] Lifecycle#onWillShutdown - end 'instanceLockfile'
2025-03-20 13:07:14.077 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 29078]: received exit event with code 0
2025-03-20 13:07:14.077 [trace] [UtilityProcessWorker]: terminated normally with code 0, signal: unknown
2025-03-20 13:07:14.077 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 28968]: received exit event with code 0
2025-03-20 13:07:14.077 [info] Extension host with pid 28968 exited with code: 0, signal: unknown.
2025-03-20 13:07:14.078 [trace] Lifecycle#onWillShutdown - end 'extHostStarter'
2025-03-20 13:07:14.079 [trace] [File Watcher (node.js)] Request to stop watching: /Users/bpasero/Library/Application Support/code-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/bpasero/Library/Application Support/code-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-03-20 13:07:14.079 [trace] [File Watcher (node.js)] stopping file watcher (/Users/bpasero/Library/Application Support/code-oss-dev/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>))
2025-03-20 13:07:14.080 [trace] [File Watcher (node.js)] stopping file watcher (/Users/bpasero/Library/Application Support/code-oss-dev/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>))
2025-03-20 13:07:14.097 [trace] StorageMainService: closed application storage
2025-03-20 13:07:14.097 [trace] Lifecycle#onWillShutdown - end 'applicationStorage'
2025-03-20 13:07:14.097 [trace] StorageMainService: closed workspace storage (a97bd3f7ce96ec26be36e076b940ef3e)
2025-03-20 13:07:14.097 [trace] Lifecycle#onWillShutdown - end 'workspaceStorage'
2025-03-20 13:07:14.099 [trace] Lifecycle#app.on(will-quit) - after fireOnWillShutdown
2025-03-20 13:07:14.099 [trace] Lifecycle#app.on(will-quit) - calling app.quit()
2025-03-20 13:07:14.099 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: undefined

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesimportantIssue identified as high-priorityinsiders-releasedPatch has been released in VS Code InsidersmacosIssues with VS Code on MAC/OS Xpapercut 🩸A particularly annoying issue impacting someone on the team

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions