justarandomgeek / vscode-factoriomod-debug

Factorio Mod Tool Kit
Other
99 stars 23 forks source link

Can not set breakpoints (unable to translate path) #44

Open kuxynator opened 3 years ago

kuxynator commented 3 years ago

I have loaded the mods directory in VSCode

loaded Kux-CoreLib 2.1.0 from mod zip file:///e%3A/Program%20Files/Factorio/1.1/mods/Kux-CoreLib_2.1.0.zip loaded base from data file:///e%3A/Program%20Files/Factorio/1.1/data/base loaded debugadapter 1.1.11 from mod zip file:///e%3A/Program%20Files/Factorio/1.1/mods/debugadapter_1.1.11.zip 0.925 Loading mod settings debugadapter 1.1.11 (settings.lua) unable to translate path file:///e%3A/Program%20Files/Factorio/1.1/mods/Kux-BlueprintExtensions/data.lua 0.941 Loading mod core 0.0.0 (data.lua) 72.663 Checksum for script Kux-CoreLib/control.lua: 25276010273 unable to translate path file:///e%3A/Program%20Files/Factorio/1.1/mods/Kux-BlueprintExtensions/control.lua

for all files I set a breakpoint I get the error " unable to translate path ..." If I copy the path to browser, it will show the file. So what is wrong?

justarandomgeek commented 3 years ago

You'll have to include the whole output for me do anything but a stab in the dark guess, but: probably that mod isn't active, so it didn't set up the mapping for it, so it can't translate the real path to a breakpoint path