vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Visual studio code crashes every 2 mins

Open tonymk opened this issue 10 years ago • 9 comments

  • VSCode Version: 1.1.1
  • OS Version: win 10 pro, version 1511, os build 10586.318

Steps to Reproduce:

  1. Start visual studio
  2. open folder
  3. wait

Get an error msg, window has crashed We are sorry..... You can reopen...

tonymk avatar May 25 '16 14:05 tonymk

What kind of workspace is it? (How many files, which languages (eg php, typescript, c#))

DickvdBrink avatar May 25 '16 14:05 DickvdBrink

@tonymk can you answer?

bpasero avatar May 26 '16 07:05 bpasero

It crashes in both .net core and angular2 environments. Testing with single files now. Seems ok so far. Did try to run it in administrator mode, still crashed.

Tried to reinstall vsCode aswell without success.

tonymk avatar May 26 '16 08:05 tonymk

Deleted node_modules to test with fewer files, still crashes. with this stucture.

C:. │ .gitignore │ index.html │ package.json │ systemjs.config.js │ tsconfig.json │ typings.json │ ├───app │ │ app.component.js │ │ app.component.js.map │ │ app.component.ts │ │ main.js │ │ main.js.map │ │ main.ts │ │ │ ├───components │ │ clientcustomers.service.js │ │ clientcustomers.service.js.map │ │ clientcustomers.service.ts │ │ │ ├───models │ └───services └───typings │ index.d.ts │ └───globals ├───core-js │ index.d.ts │ typings.json │ ├───jasmine │ index.d.ts │ typings.json │ └───node index.d.ts typings.json

tonymk avatar May 26 '16 08:05 tonymk

@tonymk are you able to share the workspace with us that crashes and list the exact installed extensions that you have?

bpasero avatar May 26 '16 08:05 bpasero

I just found out how to avoid it from crashing, i noticed a 99+ on the side bar at the git symbol. And it shortly crashed after. So i disabled git. and it is not crashing anymore. Not sure how that works, since the folder i opened does not have a git repository.

As for extensions: C#, Angular2 snippets by balram, gitignore by codeZombie.

tonymk avatar May 26 '16 09:05 tonymk

@joaomoreno any idea if/how git could be involved here?

weinand avatar May 26 '16 09:05 weinand

Found the problem, there turned out to be a .git file in C:\ (Sigh...) So when there was not any .git file in the folder that was opened. It tracked the .git file in C:\ Which propably led to vsCode tracking every file on C:\ and hence it crashed.

tonymk avatar May 26 '16 10:05 tonymk

Glad you found the hidden .git folder. Closing as a duplicate of #6162.

joaomoreno avatar May 26 '16 13:05 joaomoreno