Can't see current execution line when stepping into functions
I am currently trying to migrate from RStudio to VS Code and would like to know whether it is possible to have a seamless execution trace when debugging custom functions. I can see the different environments / stack layers under the call stack. But I can't call variables from the current environment in the debug console and the code of the function being executed.

Currently executed line is somewhere within function backtestsLS. If I use recover() to step into the correct frame all completions and variables dissapear.

What I would ideally have is that on step in I can see the currently executed line within the function and possibly set breakpoints within the function code.
Current debug config (launch.json) is;
{
"version": "0.2.0",
"configurations": [
{
"type": "R-Debugger",
"request": "launch",
"name": "Launch Workspace",
"debugMode": "workspace",
"workingDirectory": "${workspaceFolder}",
"allowGlobalDebugging": true,
"includePackageScopes": true,
"debuggedPackages": ["DPMtrading", "dplyr"]
},
]
}
I also attempted via debug file and attach to session with similar results. This is using R 4.2.3 with vscDebugger version 0.5.2.
Session Info
R version 4.2.3 Patched (2023-04-13 r84428 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Would be great to know if I need to change something in the config or R Settings to get this working better.
Can't see current execution line when stepping into functions
I am currently trying to migrate from RStudio to VS Code and would like to know whether it is possible to have a seamless execution trace when debugging custom functions. I can see the different environments / stack layers under the call stack. But I can't call variables from the current environment in the debug console and the code of the function being executed.
Currently executed line is somewhere within function backtestsLS. If I use recover() to step into the correct frame all completions and variables dissapear.
What I would ideally have is that on step in I can see the currently executed line within the function and possibly set breakpoints within the function code.
Current debug config (launch.json) is;
{ "version": "0.2.0", "configurations": [ { "type": "R-Debugger", "request": "launch", "name": "Launch Workspace", "debugMode": "workspace", "workingDirectory": "${workspaceFolder}", "allowGlobalDebugging": true, "includePackageScopes": true, "debuggedPackages": ["DPMtrading", "dplyr"] }, ] }I also attempted via debug file and attach to session with similar results. This is using R 4.2.3 with vscDebugger version 0.5.2.
Session Info
R version 4.2.3 Patched (2023-04-13 r84428 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Would be great to know if I need to change something in the config or R Settings to get this working better.