Skip to content

Trying to configure vscDebugger to work with nvim-dap for the R language #1274

Answered by mfussenegger
PMassicotte asked this question in Q&A
Discussion options

You must be logged in to vote

You get this message because the stackframe returned by the debug adapter has no source:

{
  body = {
    stackFrames = { {
        id = 0,
        name = "Global Workspace",
        presentationHint = "label"
      } },
    totalFrames = 1
  },
  command = "stackTrace",
  request_seq = 7,
  seq = 0,
  success = true,
  type = "response"
}

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PMassicotte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants