
Background check syntax in DrRacket sometimes stalls and doesn’t recover. One solution is to restart DrRacket, which I’d rather avoid. Has anyone found another workaround?

Background expansion stays purple and never goes green, even though the program compiles. Running check-syntax manually works, but takes too long as it’s not in the background

Can you provide the program, or some minimal example?

Not really, this happens randomly, after a long time

But one quick workaround is to just disable the background expansion :confused:

Also, disabling and restarting background expansion doesn’t work :slightly_smiling_face:

Aha! Found it. You made me realize it’s actually not random. So I tried raco setup --avoid-main
, disable + enable, and it works!

So there must have been a dependency lib that wasn’t re-setup’ed and background expansion didn’t like it (although manual check-syntax is okay with it)

I don’t even know how my messages could have helped, but glad that it works now!

I’m sure there’s a rearrangement of the letters you typed that gives away the solution :wink:

I was dearly missing these green arrows :relieved: