VSCode: Executing inline is periodically very slow

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?

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.

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?

1 Like

There has been some similar discussion on Slack Slack with @davidanthoff and @pfitzseb

1 Like

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.

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

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

1 Like