最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

VS Code 1.97 Not Responding - freezes - When Opening Terminal - Stack Overflow

programmeradmin1浏览0评论

I am facing an issue where VS Code becomes unresponsive as soon as I try to open the terminal. Here’s what I have tried so far:

  • Reset VS Code settings (via settings.json)
  • Ran command --disable-extensions but still not responding
  • Tried command --disable-gpu but no change
  • Fully uninstalled VS Code, deleted all related folders, and reinstalled
  • Checked PowerShell (PowerShell works fine in Command Line)
  • Ran VS Code as Administrator

Even after all these attempts, VS Code crashes whenever I try to open the terminal (Ctrl + ~).

System Details:

  • OS : Windows 10 (Version 10.0.19045.5371)
  • VS Code Version : (1.97, fresh install)

Since VS Code freezes, I checked Developer Console (Ctrl + Shift + I) but couldn't find anything useful.

Has anyone faced a similar issue? How can I fix this?

I am facing an issue where VS Code becomes unresponsive as soon as I try to open the terminal. Here’s what I have tried so far:

  • Reset VS Code settings (via settings.json)
  • Ran command --disable-extensions but still not responding
  • Tried command --disable-gpu but no change
  • Fully uninstalled VS Code, deleted all related folders, and reinstalled
  • Checked PowerShell (PowerShell works fine in Command Line)
  • Ran VS Code as Administrator

Even after all these attempts, VS Code crashes whenever I try to open the terminal (Ctrl + ~).

System Details:

  • OS : Windows 10 (Version 10.0.19045.5371)
  • VS Code Version : (1.97, fresh install)

Since VS Code freezes, I checked Developer Console (Ctrl + Shift + I) but couldn't find anything useful.

Has anyone faced a similar issue? How can I fix this?

Share Improve this question edited Feb 14 at 2:06 starball 52.2k32 gold badges214 silver badges901 bronze badges asked Feb 7 at 17:10 HAMZA ZAKAHAMZA ZAKA 511 silver badge4 bronze badges 2
  • Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Feb 7 at 19:24
  • I experienced a similar issue, turned out it was the terminal window loading on startup. Set "terminal.integrated.hideOnStartup" to "always" and VS Code loaded fine. – Schalk Commented Feb 10 at 8:31
Add a comment  | 

2 Answers 2

Reset to default 17

A possible solution, see these issues: Opening terminal crashes the Application on newer version(1.97.0) and VSCode freezes when opening a terminal. Apparently a bug in v1.97.

Already fixed in the Insiders Build - and I see there is a vscode v1.97.2 update expected later the week of 2/10/2025.

v1.97.2 update with the fix was released on 02/13/2025.

There is a suggested temporary "fix" in the meantime:

Disable this setting: `Terminal › Integrated: Gpu Acceleration`

Or you could downgrade to vscode v.1.96.

Possibly this is broken again in 1.98.0, which I suspect it might be since I'm seeing the issue again on this version.

In contrast to the previous answer, I changed this setting from "auto" to "on" and it seems to be working correctly.

发布评论

评论列表(0)

  1. 暂无评论
ok 不同模板 switch ($forum['model']) { /*case '0': include _include(APP_PATH . 'view/htm/read.htm'); break;*/ default: include _include(theme_load('read', $fid)); break; } } break; case '10': // 主题外链 / thread external link http_location(htmlspecialchars_decode(trim($thread['description']))); break; case '11': // 单页 / single page $attachlist = array(); $imagelist = array(); $thread['filelist'] = array(); $threadlist = NULL; $thread['files'] > 0 and list($attachlist, $imagelist, $thread['filelist']) = well_attach_find_by_tid($tid); $data = data_read_cache($tid); empty($data) and message(-1, lang('data_malformation')); $tidlist = $forum['threads'] ? page_find_by_fid($fid, $page, $pagesize) : NULL; if ($tidlist) { $tidarr = arrlist_values($tidlist, 'tid'); $threadlist = well_thread_find($tidarr, $pagesize); // 按之前tidlist排序 $threadlist = array2_sort_key($threadlist, $tidlist, 'tid'); } $allowpost = forum_access_user($fid, $gid, 'allowpost'); $allowupdate = forum_access_mod($fid, $gid, 'allowupdate'); $allowdelete = forum_access_mod($fid, $gid, 'allowdelete'); $access = array('allowpost' => $allowpost, 'allowupdate' => $allowupdate, 'allowdelete' => $allowdelete); $header['title'] = $thread['subject']; $header['mobile_link'] = $thread['url']; $header['keywords'] = $thread['keyword'] ? $thread['keyword'] : $thread['subject']; $header['description'] = $thread['description'] ? $thread['description'] : $thread['brief']; $_SESSION['fid'] = $fid; if ($ajax) { empty($conf['api_on']) and message(0, lang('closed')); $apilist['header'] = $header; $apilist['extra'] = $extra; $apilist['access'] = $access; $apilist['thread'] = well_thread_safe_info($thread); $apilist['thread_data'] = $data; $apilist['forum'] = $forum; $apilist['imagelist'] = $imagelist; $apilist['filelist'] = $thread['filelist']; $apilist['threadlist'] = $threadlist; message(0, $apilist); } else { include _include(theme_load('single_page', $fid)); } break; default: message(-1, lang('data_malformation')); break; } ?>