You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In a multi-root workspace, the launch directory is incorrect. I think this is two issues at once:
The value set in the launch config is overwritten. (I am not sure why that is, but I also checked hard-coded literals in the debug config, and they never become effective.)
It is overwritten with an incorrect value. This is due to
I guess so, yes. I just wonder if vscode.window.activeTextEditor is a good choice - the debug launch config does does not necessarily have anything to do with the currently open file.
Describe the bug
In a multi-root workspace, the launch directory is incorrect. I think this is two issues at once:
VSCode-R-Debugger/src/debugRuntime.ts
Line 112 in 075bee3
(I feel it should be overwritten with the file's workspace folder,
workspace.getWorkspaceFolder(uri)
, see https://github.com/microsoft/vscode/wiki/Adopting-Multi-Root-Workspace-APIs#eliminating-rootpath)To Reproduce
Then start debugging using "Debug R-File (R2)".
Expected behavior
"R2" in the Debug Console
Actual behavior
"R1" in the Debug Console
In the output, one can see
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: