Command K and Chat change confirm cause not responding

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Command K Edit mode always causes not responding, Command K Ask works well, Chat works well, but if chat edit multiple contents and click Keep separately for each change, it will also cause not responding.

Steps to Reproduce

command K Edit content or chat edit multiple contents and click keep searately.

Expected Behavior

The window is not responding pops out.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.23 (system setup)
VSCode Version: 1.105.1
Commit: b3c95a7981bb3057526f1f865e8c307a9911ce00
Date: 2025-12-15T03:10:57.241Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26220

Additional Information

i’ve tried reinstall, change httpsettings

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the detailed report.

I see the “Not responding” screen when using CMD+K Edit. There are a few similar reports on Windows with version 2.2..

For diagnostics, could you check:

  1. Extensions: CMD+Shift+P > Developer: Open Extension Monitor - do any extensions show high CPU/memory? Try launching Cursor with cursor --disable-extensions from the command line.

  2. Process Explorer: CMD+Shift+P > Developer: Open Process Explorer - what consumes resources at the moment of the freeze?

  3. Console logs: Help > Toggle Developer Tools > Console tab - reproduce the CMD+K Edit issue and share any errors.

Also please provide:

  • Project size/number of files
  • Which file you’re editing when the freeze happens
  • The list of installed extensions

This will help us identify the pattern.

It seems cmd+shift+p does not have Developer: Open Extension Monitor command, how could I see extension CPU/Memory usage?

Oh, got it. You need to enable it first.
The “Developer: Open Extension Monitor” command appears only after you turn on the flag:

  1. Open Settings Ctrl+, > Application > Experimental
  2. Enable “Extension Monitor Enabled”
  3. Restart Cursor
  4. Then run CMD+Shift+P > Developer: Open Extension Monitor and check CPU/Memory for extensions
  1. All user extensions show 0 usage and show 98.64 % ExtHost 2.7& CPU 258KB Memory, anysphere.cursor-always-local accounts for 1.36% ext host and 0 others; launching cursor with extensions disabled does not prevent it from not responding.

  2. while freezing, the trigger window CPU consumption 1% → 5%, Memroy rise from 50MB to about 5GB in less than 10s then clear back to 30MB then repeat the rise progress for about 5 times, then rise slowly in a about 5MB/s rate

 the system memory is sufficient enough

  3. Detailed Errors are:

  4. workbench.desktop.main.js:542 This document requires ‘TrustedScript’ assignment.

    (anonymous) @ workbench.desktop.main.js:542

    workbench.desktop.main.js:542 The JavaScript Function constructor does not accept TrustedString arguments. See Trusted Types for function constructor · w3c/trusted-types Wiki · GitHub for more information.

    workbench.desktop.main.js:139 Refused to create a TrustedTypePolicy named ‘tokenizeToString’ because a policy with that name already exists and the Content Security Policy directive does not ‘allow-duplicates’: “trusted-types amdLoader
    cellRendererEditorText
    defaultWorkerFactory
    diffEditorWidget
    diffReview
    domLineBreaksComputer
    dompurify
    editorGhostText
    editorViewLayer
    notebookRenderer
    stickyScrollViewLayer
    tokenizeToString
    safeInnerHtml
    editorCppGhostText
    standaloneColorizer
    tokenizeToString
    solidjs
    aibubble
    aibubble2
    aibubbleSearch
    streamingMarkdownPolicy
    notebookChatEditController
    mermaidDiagram
    mermaidDiagram2
    mermaidDiagramOuter”.

    wQ @ workbench.desktop.main.js:139

    workbench.desktop.main.js:23 Uncaught Error: Failed to execute ‘createPolicy’ on ‘TrustedTypePolicyFactory’: Policy with name “tokenizeToString” already exists.

    TypeError: Policy with name “tokenizeToString” already exists.
    at wQ (workbench.desktop.main.js:139:11057)
    at workbench.desktop.main.js:12033:49688
    at wQ (workbench.desktop.main.js:139:11057)
    at workbench.desktop.main.js:12033:49688
    at workbench.desktop.main.js:25:12

    workbench.desktop.main.js:55 WARN Missing property “rpcFileLoggerFolder” in oldValue. Filling with value from initValue. Please add a migration if necessary.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-toolsai.datawrangler’ wants API proposal ‘debugFocus’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-vscode.vscode-copilot-data-analysis’ wants API proposal ‘chatVariableResolver’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-python.python’ wants API proposal ‘terminalShellType’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-python.vscode-python-envs’ wants API proposal ‘terminalShellType’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘github.copilot-chat’ wants API proposal ‘chatReadonlyPromptReference’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-azuretools.vscode-azure-github-copilot’ wants API proposal ‘lmTools’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘vscjava.vscode-java-pack’ wants API proposal ‘lmTools’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘apidev.azure-api-center’ wants API proposal ‘chatParticipant’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘apidev.azure-api-center’ wants API proposal ‘languageModels’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 ERR Extension ‘ms-toolsai.jupyter’ appears in product.json but enables LESS API proposals than the extension wants.
    package.json (LOSES): notebookDeprecated, notebookMessaging, notebookMime, contribNotebookStaticPreloads, portsAttributes, quickPickSortByLabel, notebookKernelSource, interactiveWindow, quickPickItemTooltip, notebookExecution, notebookCellExecution, notebookVariableProvider, notebookReplDocument
    product.json (WINS): notebookDeprecated, notebookMessaging, notebookMime, notebookCellExecutionState, quickPickSortByLabel, notebookKernelSource, interactiveWindow, notebookControllerAffinityHidden, contribNotebookStaticPreloads, quickPickItemTooltip, notebookExecution, notebookCellExecution, notebookVariableProvider, notebookReplDocument

    error @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN [ms-python.python]: Cannot register ‘python.venvPath’. This property is already registered.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN [REditorSupport.r]: Cannot register ‘r.rpath.windows’. This property is already registered.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN [REditorSupport.r]: Cannot register ‘r.rpath.mac’. This property is already registered.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN [REditorSupport.r]: Cannot register ‘r.rpath.linux’. This property is already registered.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:13025 Overwriting grammar scope name to file mapping for scope source.sql.
    Old grammar file: file:///a%3A/Program%20Files/cursor/resources/app/extensions/sql/syntaxes/sql.tmLanguage.json.
    New grammar file: file:///c%3A/Users/chenl/.cursor/extensions/ms-mssql.mssql-1.9.0-universal/syntaxes/SQL.plist

    register @ workbench.desktop.main.js:13025

    workbench.desktop.main.js:13025 Overwriting grammar scope name to file mapping for scope source.r.
    Old grammar file: file:///a%3A/Program%20Files/cursor/resources/app/extensions/r/syntaxes/r.tmLanguage.json.
    New grammar file: file:///c%3A/Users/chenl/.cursor/extensions/reditorsupport.r-syntax-0.1.3-universal/syntaxes/r.json

    register @ workbench.desktop.main.js:13025

    textMateTokenization
er.workerMain.js:28 Overwriting grammar scope name to file mapping for scope source.sql.
    Old grammar file: file:///a%3A/Program%20Files/cursor/resources/app/extensions/sql/syntaxes/sql.tmLanguage.json.
    New grammar file: file:///c%3A/Users/chenl/.cursor/extensions/ms-mssql.mssql-1.9.0-universal/syntaxes/SQL.plist

    register @ textMateTokenization
er.workerMain.js:28

    textMateTokenization
er.workerMain.js:28 Overwriting grammar scope name to file mapping for scope source.r.
    Old grammar file: file:///a%3A/Program%20Files/cursor/resources/app/extensions/r/syntaxes/r.tmLanguage.json.
    New grammar file: file:///c%3A/Users/chenl/.cursor/extensions/reditorsupport.r-syntax-0.1.3-universal/syntaxes/r.json

    register @ textMateTokenization
er.workerMain.js:28

    workbench.desktop.main.js:55 WARN No search provider registered for scheme: file, waiting

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 ERR [Extension Host] (node:58968) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    (Use `Cursor --trace-deprecation 
` to show where the warning was created)

    error @ workbench.desktop.main.js:55

    workbench.desktop.main.js:12343 [Extension Host] (node:58968) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    (Use `Cursor --trace-deprecation 
` to show where the warning was created)

    _hf @ workbench.desktop.main.js:12343

    workbench.desktop.main.js:55 ERR [Extension Host] (node:58968) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

    error @ workbench.desktop.main.js:55

    workbench.desktop.main.js:12343 [Extension Host] (node:58968) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

    _hf @ workbench.desktop.main.js:12343

    workbench.desktop.main.js:55 WARN [Fitten-Code]: Couldn’t find message for key fittencode.userCenter.title.

    warn @ workbench.desktop.main.js:55

    workbench.desktop.main.js:55 WARN [Fitten-Code]: Couldn’t find message for key fittencode.tokenExpired.title.

    warn @ workbench.desktop.main.js:55

    2

    workbench.desktop.main.js:15042 Error getting git root Error: Failed to execute git

    isRepoReadyForBackgroundComposer @ workbench.desktop.main.js:15042

    workbench.desktop.main.js:13258 Failed to get git telemetry attributes: Error: Failed to execute git

    getGitAttributes @ workbench.desktop.main.js:13258

    workbench.desktop.main.js:13074 [transport] Connect error in unary AI connect ConnectError: [deadline_exceeded] the operation timed out
    at t (workbench.desktop.main.js:12375:457550)
    at async Object.checkNumberConfig (workbench.desktop.main.js:585:88399)
    at async workbench.desktop.main.js:13105:3935
    at async n (workbench.desktop.main.js:13105:3694)
    at async Lfo.maybeRefreshConfigInner (workbench.desktop.main.js:13105:3918)
    at async Lfo.getLatestConfig (workbench.desktop.main.js:13105:3307)

    1. Object
    error @ workbench.desktop.main.js:13074

    workbench.desktop.main.js:13074 [transport] Connect error in unary AI connect ConnectError: [unauthenticated] Error
    at t (workbench.desktop.main.js:12375:457550)
    at async Object.getTeamCommands (workbench.desktop.main.js:585:88399)
    at async gMo.loadTeamCommands (workbench.desktop.main.js:15030:2986)

    1. Object
    error @ workbench.desktop.main.js:13074

    workbench.desktop.main.js:15030 Failed to load team commands: ConnectError: [unauthenticated] Error
    at t (workbench.desktop.main.js:12375:457550)
    at async Object.getTeamCommands (workbench.desktop.main.js:585:88399)
    at async gMo.loadTeamCommands (workbench.desktop.main.js:15030:2986)

    loadTeamCommands @ workbench.desktop.main.js:15030

    workbench.html:1 Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at Accessible Rich Internet Applications (WAI-ARIA) 1.3 .
    Element with focus: <div.aislash-editor-input>
    Ancestor with aria-hidden: <div.view-zones>
    1.

    workbench.desktop.main.js:14955 Unsuccessfully trying to update frozen context session with uuid a1f703b9-a023-458b-8d57-6db22b4da8fb

    updateContextSessionInternal @ workbench.desktop.main.js:14955
    (anonymous) @ workbench.desktop.main.js:14955

undefined|----|----|----|----|
| | _o | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | updateContextSession | @ | workbench.desktop.main.js:14955 |
undefined|----|----|----|----|
| | (anonymous) | @ | workbench.desktop.main.js:12159 |
undefined|----|----|----|----|
| | AUa | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | Irt | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | RNt | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | V4d | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | (anonymous) | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | Mj | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | U4d | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | Mj | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | LUa | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | n | @ | workbench.desktop.main.js:122 |
undefined|----|----|----|----|
| | (anonymous) | @ | workbench.desktop.main.js:439 |
undefined|----|----|----|----|
| | _deliver | @ | workbench.desktop.main.js:49 |
undefined|----|----|----|----|
| | _deliverQueue | @ | workbench.desktop.main.js:49 |
undefined|----|----|----|----|
| | fire | @ | workbench.desktop.main.js:49 |
undefined|----|----|----|----|
| | change | @ | workbench.desktop.main.js:439 |
undefined|----|----|----|----|
| | updateInlineDiff | @ | workbench.desktop.main.js:591 |
undefined|----|----|----|----|
| | Sse | @ | workbench.desktop.main.js:597 |
undefined|----|----|----|----|
| | _createInstance | @ | workbench.desktop.main.js:13440 |
undefined|----|----|----|----|
| | createInstance | @ | workbench.desktop.main.js:13440 |
undefined|----|----|----|----|
| | addDiff | @ | workbench.desktop.main.js:592 |
undefined|----|----|----|----|
| | streamDiff | @ | workbench.desktop.main.js:596 |
undefined|----|----|----|----|

await in streamDiff
(anonymous) @ workbench.desktop.main.js:13353
undefined ---- ---- ----
await in (anonymous)
submitContextSessionEdit @ workbench.desktop.main.js:13353
undefined ---- ---- ----
submitEditWithSelection @ workbench.desktop.main.js:13353
undefined ---- ---- ----
Yn @ workbench.desktop.main.js:12159
undefined ---- ---- ----
onSubmit @ workbench.desktop.main.js:12159
undefined ---- ---- ----
handleSubmit @ workbench.desktop.main.js:12024
undefined ---- ---- ----
(anonymous) @ workbench.desktop.main.js:12026
undefined ---- ---- ----
xgl @ workbench.desktop.main.js:444
undefined ---- ---- ----
(anonymous) @ workbench.desktop.main.js:444
undefined ---- ---- ----
Igl @ workbench.desktop.main.js:444
undefined ---- ---- ----
OQ @ workbench.desktop.main.js:444
undefined ---- ---- ----
update @ workbench.desktop.main.js:446
undefined ---- ---- ----
xgl @ workbench.desktop.main.js:444
undefined ---- ---- ----
bu @ workbench.desktop.main.js:444
undefined ---- ---- ----
kHd @ workbench.desktop.main.js:444
undefined ---- ---- ----
(anonymous) @ workbench.desktop.main.js:444
undefined ---- ---- ----

but only the last two info are generated while reproducing issue

I’ve tried project over 500 files and less than 10 files, this bug triggers in any project and any file even in an empty file while generating a Fibonacci function

installed extensions are:
.Net Install Tool

Better comments

Block Formatter

Bookmarks

C#

GitGraph
GitHub Theme

Intellij IDEA Keybindings

Jupyter
JupyterCellTags

Jupyter Notebook Renderers
Jupyter Slide Show

Lua(keyring)
Lua(sumneko)

Markdown All in One

Material Icon Theme
Mono Debug
OutlineMap
Pretty XML
Python(anysphere)
Python(ms-python)
Python Debugger
Python Indent
R
R Debugger
R Syntax
Sql Server(mssql)
Todo Tree
vscde-solution-explorer
WakaTime
XAML Styler
XML
XML Tools
Black(mikoz) not activated
Fitten Code not activated
Lingma not activated
Markdown Preview Enhanced not activated

Thanks for the detailed diagnostics, it’s very helpful.

A memory spike from 50 MB to 5 GB and the tokenizeToString error is a known issue on Windows 2.2.x, and the team is working on a fix.

Please check one setting:

  1. Open Settings (JSON) via Ctrl+Shift+P > “Preferences: Open Settings (JSON)”
  2. Find "workbench.editor.showTabs" - if the value is "single", change it to "multiple" or remove this line

Also clarify:

  • Which Windows Update version is installed? (Settings > Windows Update > Update history) - there were reports that rolling back KB5068861 helped

If the showTabs setting didn’t help, try a full cache cleanup:

  1. Close Cursor
  2. Delete the folders %APPDATA%\Cursor and %LOCALAPPDATA%\cursor-updater
  3. Restart

Thanks, the showTabs setting solved this problem
the current windows version is KB5067931 btw

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.