vscode-factoriomod-debug icon indicating copy to clipboard operation
vscode-factoriomod-debug copied to clipboard

Can not set breakpoints (unable to translate path)

Open kuxynator opened this issue 4 years ago • 1 comments
trafficstars

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?

kuxynator avatar Jul 17 '21 02:07 kuxynator

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

justarandomgeek avatar Jul 19 '21 22:07 justarandomgeek