Trying to configure vscDebugger to work with nvim-dap for the R language #1274
-
First, sorry if I am not at the right place to ask. I am hesitating to post here or directly on https://manuelhentschel.github.io/vscDebugger/index.html. I have this config in dap.adapters.r = {
type = "server",
port = "18721",
name = "R",
executable = {
command = "R",
args = { "--slave", "-e", "vscDebugger::.vsc.listenForDAP()" },
},
}
dap.configurations.r = {
{
type = "r",
name = "Debug R-File",
request = "attach",
debugMode = "file",
stopOnEntry = false,
enableVariablesPanel = true,
},
} There after, I am opening an R script, set a brakepoint and type
I further explored the
Anyone has an idea what is going on? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You get this message because the stackframe returned by the debug adapter has no source:
so the client has no idea where it should jump to on the stopped event. That's why you're getting the Sounds like an issue with the debug adapter. I'm not aware of anything the client could do to handle such responses differently |
Beta Was this translation helpful? Give feedback.
You get this message because the stackframe returned by the debug adapter has no source:
so the client has no idea where it should jump to on the stopped event. That's why you're getting the
Source not available, cannot jump to frame
message.Sounds like an issue with the debug adapter. I'm not aware of anything the client could do to handle such responses differently