# VSCode: Executing inline is periodically very slow

**URL:** <https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413>\
**Category:** New to Julia\
**Tags:** vscode\
**Created:** [August 20, 2024, 10:43am UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413 "2024-08-20T10:43:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![HannesBraun](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@HannesBraun](https://discourse.julialang.org/u/HannesBraun)\
**Post date:** [August 20, 2024, 10:43am UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413/1 "2024-08-20T10:43:06Z")

</div>

Hello everyone,  
I am using Julia for some time now and I use it on VSCode on files and data which is located in a Nextcloud Folder (it is local on my machine as far as I understand it) on Windows, Mac and Linux.  
Most of the time I use the inline execution, Shift+Enter. Now it appears that I can execute a few lines quickly one after another. If I take a small pause to google something,_e.g._ quickly change the window for google something, and come back, executing inline takes awefully long (\>1 min) which makes it annoying as hell to work. This is also the case if I just stop fluidly executing lines and write a few lines and then go backl to executing. The terminal the other side works perfectly fine. This behaviour is quite new, ~1 month I wanna say.  
Did anyone experience the same and maybe has a quickfix?

---

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [August 20, 2024, 12:23pm UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413/2 "2024-08-20T12:23:36Z")

</div>

I have the same behavior. Can’t make it go away with fresh installs of VSCode, the extension, and/or Julia.

On my machine, the bottom of VSCode always says “Formatting…”, so I’ve wondered if the main thread is getting locked up waiting for Julia Formatter which has failed for some reason.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [August 20, 2024, 1:44pm UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413/3 "2024-08-20T13:44:10Z")

</div>

What I see now is that I can do only ONE debug session. On a second attempt it stalls with a endless “Julia:Evaluating” spin icon. The debugger is reaching a state of nearly useless level. Is it only for me?

---

<div class="post-metadata">

**Author:** ![DanielVandH](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/danielvandh/32/31134_2.png) [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Post date:** [August 20, 2024, 1:54pm UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413/4 "2024-08-20T13:54:55Z")

</div>

There has been some similar discussion on Slack [Slack](https://julialang.slack.com/archives/C6LV2R5JB/p1722503649340359) with @davidanthoff and @pfitzseb

---

<div class="post-metadata">

**Author:** ![ohmsweetohm1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ohmsweetohm1/32/49126_2.png) [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Post date:** [August 22, 2024, 4:44pm UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413/5 "2024-08-22T16:44:41Z")

</div>

I find everything in VSCode quite slow recently. Even saving a file, admitted I have format on save on. But this wasn’t an issue a few weeks ago.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [August 22, 2024, 5:36pm UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413/6 "2024-08-22T17:36:08Z")

</div>

I’ve reverted to a version about one month ago and things look better (I can debug again).

---

<div class="post-metadata">

**Author:** ![DanielVandH](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/danielvandh/32/31134_2.png) [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Post date:** [August 22, 2024, 6:26pm UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413/7 "2024-08-22T18:26:12Z")

</div>

The pre-release version of the extension has some new telemetry aimed at trying to figure out what’s causing the slowdown. I would recommend using it, if you can, to help assist with the data collection here. See [Slack](https://julialang.slack.com/archives/C6LV2R5JB/p1724186869874289)
