0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

vscodeのデバックができない(フリーズする)

0
Posted at

vscodeのデバックができなくなった(c++の)

状況としては、デバック開始のボタンを押してもコードにハイライトが表示されず、step in,step outなどの動作ボタンを押しても動かない。
errorやwarningも出てなくフリーズしてる感じ。

1日前まで動いていたのに、急に動かなくなりました。
(憶測だけど、vscodeが自動でアップデートされたせい?)

解決方法

extensionのc/c++を削除して入れ直しました。
具体的には、
~/.vscode/extensionsにあるms-vscode.cpptools-0.29.0を削除し、普通にvscodeのmarketplaceからサイドインストール。

感想

errorやwarningが出ずに動かなくなったときは、いろいろ調べるよりも一回消して入れ直した方が早いのかもしれない。
あと、特定のextensionを入れ直すだけでフリーズが治ったのは意外でした。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?