# VS Code extremely slow to execute code

**URL:** https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520
**Category:** VS Code
**Created:** [May 23, 2022, 3:39pm UTC](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520 "2022-05-23T15:39:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lzxnl](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lzxnl](https://discourse.julialang.org/u/lzxnl)
#### Post date: [May 23, 2022, 3:39pm UTC](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520/1 "2022-05-23T15:39:02Z")

</div>

When I start up VS Code, the first time I want to execute code, it does so ok. The second time, if I highlight some code to run with Shift-Enter, it will stop, and will take longer to reply than just restarting VS Code, after which I can run one line of code again before it will again stop for an undetermined amount of time. What is going on here? I’m trying to move away from Atom/Juno, because I can’t seem to interrupt my code with Ctrl-C there and I can in VS Code, but VS Code is so unresponsive.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [May 23, 2022, 3:41pm UTC](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520/2 "2022-05-23T15:41:04Z")

</div>

Can you check Output \> Julia Language Server and see if there are any errors there? Also, do you have crash reporting enabled?

---

<div class="post-metadata">

### Author: ![lzxnl](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lzxnl](https://discourse.julialang.org/u/lzxnl)
#### Post date: [May 23, 2022, 3:42pm UTC](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520/3 "2022-05-23T15:42:57Z")

</div>

There are no errors in the Output. How do I turn on crash reporting? I’m very new to VS Code.

---

<div class="post-metadata">

### Author: ![Rohan\_Rajagopal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rohan_rajagopal/32/34183_2.png) [@Rohan\_Rajagopal](https://discourse.julialang.org/u/Rohan_Rajagopal)
#### Post date: [May 23, 2022, 5:44pm UTC](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520/4 "2022-05-23T17:44:17Z")

</div>

Is this with a specific line of code, or just arbitrarily selecting any complete set of code?

---

<div class="post-metadata">

### Author: ![lzxnl](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lzxnl](https://discourse.julialang.org/u/lzxnl)
#### Post date: [May 27, 2022, 2:50am UTC](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520/5 "2022-05-27T02:50:10Z")

</div>

Arbitrarily with any complete code
