Open sewbacca opened 2 years ago
Does this still occur, or did deleting %appdata%\Code\User\workspaceStorage
solve the issue?
Does this still occur, or did deleting
%appdata%\Code\User\workspaceStorage
solve the issue?
It did happen, after I deleted it, again. However after the second time, it didn't occur again.
I can't reproduce this bug in another project. I'm using Love2D and wrap the update and draw calls arround a
lldebugger.call
, so that any breakpoints and whatever should get recognized. However recently in a project I noticed a strange and annoying behaviour. Let's say I havemain.lua
,A.lua
,B.lua
,C.lua
, andD.lua
. The moduleD
is used fromA
toC
and inmain.lua
. Now I can easly create breakpoints inmain.lua
,A.lua
andD.lua
, but when trying to put breakpoints inB.lua
orC.lua
, the debugger steps right over them. The only way that the debugger recognizes the breakpoints, is to step intoB.lua
orC.lua
and put breakpoints when I am inside that file. Untill the end of this debugging session, any new breakpoints are recognized properly. If I restart the debugger, the same behaviour repeats. I'm sorry, that I can't put an example to reproduce the behaviour, I had trouble finding a way. If I come up with an example, I will post it here.Edit: Interesting side effect: When copying the project files into another directory, there the issue disappears. Are there maybe any caches that are responsible?
Edit 2: I could solve the issue by deleting the contents of
%appdata%\Code\User\workspaceStorage