Skip to content

Extension troubleshooting advice? Occasional "ghost" sessions #197

@katrinabrock

Description

@katrinabrock

I don't have a way to repro this issue, so looking for advice on how to gather more useful info on what's going on.

Sometimes (~10% of the time), when I attempt to launch a debug session, nothing appears to happen. The "run and debug" area and the debug console remain completely empty. Global Workspace is not even listed in the "Call Stack" area. The hovering debugging control widget doesn't show up. However, if I start a second debug session, the first one suddenly shows up in all 3 of these places (still no logs, callstack, etc.) and I can select and kill it from the debugging control widget.

The last time this happened I was able to identify an R process that I believe corresponds to this ghost session using ps so it was actually launced and running.

I suspect this is some kind of timing issue so I'm tempted to just bump all the timeouts, but I'd like to diagnose the issue properly if possible. Any steps I can do to debug? Like is there a way I can try to attach to the orphaned R process? Or something specific I should be looking for in the logs?

`launch.json`
        {
            "type": "R-Debugger",
            "name": "Run File",
            "request": "launch",
            "debugMode": "file",
            "workingDirectory": "${workspaceFolder}",
            "file": ".vscode/run_file.R",
            "allowGlobalDebugging": true,
            "env": {"ACTIVE_FILE": "${file}"},
            "loadPackages": [
                "pkgs/trackframe"
            ]
        }
`.vscode/run_file.R`
active_file <- Sys.getenv('ACTIVE_FILE')
what_do <- if (startsWith(basename(active_file), 'test_')) 'test' else
  if (endsWith(tolower(active_file), 'rmd')) 'vignette' else stop('what do?')

pkg_root <- rprojroot::find_package_root_file (path = active_file)
setwd(pkg_root)


if (what_do == 'test'){
  library(tinytest)
  devtools::load_all()
  result <- tinytest::run_test_file(file.path('inst/tinytest/', basename(active_file))); print(result)
  print(system.time(withr::with_dir( 'inst/tinytest', source(active_file))))
} else if (what_do == 'vignette') {
  devtools::load_all()
  tools::buildVignette(active_file, dirname(active_file), clean = TRUE)
}
print("DONE")
Log
[dapOut..] [11:50:59.046] [n] Content-Length: 79
[dapOut..] [11:50:59.046] [n] 
[dapOut..] [11:50:59.046] [ ] {"command":"disconnect","arguments":{"restart":true},"type":"request","seq":12}
[dapIn...] [11:50:59.071] [n] Content-Length: 241
[dapIn...] [11:50:59.071] [n] 
[dapIn...] [11:50:59.071] [ ] {"seq":0,"type":"event","event":"custom","body":{"text":"Q","when":"browserPrompt","fallBackToNow":true,"addNewLine":true,"count":1,"stack":false,"pid":1709301,"ppid":1709300,"terminalId":"","useActiveTerminal":true,"reason":"writeToStdin"}}
[dapIn...] [11:50:59.075] [n] Content-Length: 260
[dapIn...] [11:50:59.075] [n] 
[dapIn...] [11:50:59.075] [ ] {"seq":0,"type":"event","event":"custom","body":{"text":"quit(save = \"no\")","when":"topLevelPrompt","fallBackToNow":false,"addNewLine":true,"count":1,"stack":true,"pid":1709301,"ppid":1709300,"terminalId":"","useActiveTerminal":true,"reason":"writeToStdin"}}
[dapIn...] [11:50:59.078] [n] Content-Length: 82
[dapIn...] [11:50:59.078] [n] 
[dapIn...] [11:50:59.078] [ ] {"seq":0,"type":"response","request_seq":12,"command":"disconnect","success":true}
[cpinfo..] [11:50:59.084] [ ] sending signal SIGKILL...
[cpinfo..] [11:50:59.096] [ ] sent signal
[stdout..] [11:50:59.127] [ ] Browse[1]> 
[cpinfo..] [11:50:59.199] [ ] Child process exited with code: null
[info....] [11:50:59.416] [ ] Request handled in VS Code:
[info....] [11:50:59.416] [ ] {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"R-Debugger","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true,"supportsANSIStyling":true,"threadId":1,"extensionVersion":"0.5.6","rStrings":{"prompt":"<#v\\s\\c>","continue":"<##v\\s\\c>","startup":"<v\\s\\c\\R\\STARTUP>","libraryNotFound":"<v\\s\\c\\LIBRARY\\NOT\\FOUND>","packageName":"vscDebugger"}},"type":"request","seq":1}
[info....] [11:50:59.417] [ ] R Startup:
[info....] [11:50:59.417] [ ] {"path":"/usr/bin/R","args":["--quiet","--no-save","--interactive"],"cwd":"/home/TOP/kbrock/travelpaths-devel","env":{"ACTIVE_FILE":"/home/TOP/kbrock/travelpaths-devel/pkgs/trackframe/devel/performance.Rmd"}}
[stdin...] [11:50:59.430] [n] base::cat("<v\\s\\c\\R\\STARTUP>\n")
[stdout..] [11:50:59.885] [n] > base::cat("<v\\s\\c\\R\\STARTUP>\n")
[stdout..] [11:50:59.885] [n] <v\s\c\R\STARTUP>
[info....] [11:50:59.885] [ ] R Session ready
[stdin...] [11:50:59.886] [n] base::tryCatch(expr=base::library(vscDebugger), error=function(e) base::cat("<v\\s\\c\\LIBRARY\\NOT\\FOUND>\n"))
[info....] [11:50:59.886] [ ] Initialize Arguments:
[info....] [11:50:59.886] [ ] {"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"R-Debugger","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true,"supportsANSIStyling":true,"threadId":1,"extensionVersion":"0.5.6","rStrings":{"prompt":"<#v\\s\\c>","continue":"<##v\\s\\c>","startup":"<v\\s\\c\\R\\STARTUP>","libraryNotFound":"<v\\s\\c\\LIBRARY\\NOT\\FOUND>","packageName":"vscDebugger"},"useDapSocket":true,"dapHost":"localhost","dapPort":41375,"useSinkSocket":true,"sinkHost":"localhost","sinkPort":43891}
[stdin...] [11:50:59.886] [n] vscDebugger:::.vsc.handleDap("Content-Length: 877\n\n{\"command\":\"initialize\",\"arguments\":{\"clientID\":\"vscode\",\"clientName\":\"Visual Studio Code\",\"adapterID\":\"R-Debugger\",\"pathFormat\":\"path\",\"linesStartAt1\":true,\"columnsStartAt1\":true,\"supportsVariableType\":true,\"supportsVariablePaging\":true,\"supportsRunInTerminalRequest\":true,\"locale\":\"en\",\"supportsProgressReporting\":true,\"supportsInvalidatedEvent\":true,\"supportsMemoryReferences\":true,\"supportsArgsCanBeInterpretedByShell\":true,\"supportsMemoryEvent\":true,\"supportsStartDebuggingRequest\":true,\"supportsANSIStyling\":true,\"threadId\":1,\"extensionVersion\":\"0.5.6\",\"rStrings\":{\"prompt\":\"<#v\\\\s\\\\c>\",\"continue\":\"<##v\\\\s\\\\c>\",\"startup\":\"<v\\\\s\\\\c\\\\R\\\\STARTUP>\",\"libraryNotFound\":\"<v\\\\s\\\\c\\\\LIBRARY\\\\NOT\\\\FOUND>\",\"packageName\":\"vscDebugger\"},\"useDapSocket\":true,\"dapHost\":\"localhost\",\"dapPort\":41375,\"useSinkSocket\":true,\"sinkHost\":\"localhost\",\"sinkPort\":43891},\"type\":\"request\",\"seq\":1}")
[stdout..] [11:50:59.886] [n] > <n(e) base::cat("<v\\s\\c\\LIBRARY\\NOT\\FOUND>\n"))
[stdout..] [11:50:59.953] [ ] > 
[stdout..] [11:50:59.954] [n] <sinkPort\":43891},\"type\":\"request\",\"seq\":1}")
[dapIn...] [11:50:59.964] [n] Content-Length: 2429
[dapIn...] [11:50:59.964] [n] 
[dapIn...] [11:50:59.964] [ ] {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsRestartRequest":false,"supportsDelayedStackTraceLoading":false,"supportsTerminateRequest":false,"supportsStepBack":false,"supportsConfigurationDoneRequest":true,"supportsEvaluateForHovers":false,"supportsDataBreakpoints":false,"supportsCompletionsRequest":true,"completionTriggerCharacters":["[","$",":","@","(",")"],"supportsCancelRequest":false,"supportsBreakpointLocationsRequest":false,"supportsExceptionInfoRequest":false,"supportsExceptionOptions":true,"exceptionBreakpointFilters":[{"filter":"fromFile","label":"Errors from R Files","default":true},{"filter":"fromEval","label":"Errors from the Debug Console","default":false}],"supportsClipboardContext":true,"supportsSetVariable":true},"packageInfo":{"Package":"vscDebugger","Title":"Support for Visual Studio Code Debugger","Version":"0.5.6","Authors@R":"c(\n    person(\n        given = \"Manuel\",\n        family = \"Hentschel\",\n        role = c(\"aut\", \"cre\"),\n        email = \"Manuel.Hentschel@outlook.com\"\n    ),\n    person(\n        given = \"Kun\",\n        family = \"Ren\",\n        role = \"ctb\",\n        email = \"mail@renkun.me\"\n    ),\n    person(\n        given = \"Denes\", \n        family = \"Toth\", \n        role = \"ctb\",\n        email = \"toth.denes@kogentum.hu\", \n        comment = c(ORCID = \"0000-0003-4262-3217\")\n    ))","Description":"Provides support for a visual studio code debugger","License":"MIT","URL":"https://ManuelHentschel.github.io/vscDebugger/,\nhttps://github.com/ManuelHentschel/vscDebugger","BugReports":"https://github.com/ManuelHentschel/vscDebugger/issues","Imports":"jsonlite, R6, tcltk","Suggests":"pkgload, knitr, rmarkdown, markdown","Encoding":"UTF-8","NeedsCompilation":"yes","Roxygen":"list(markdown = TRUE)","RoxygenNote":"7.3.2","VignetteBuilder":"knitr","Repository":"https://manuelhentschel.r-universe.dev","Date/Publication":"2025-11-28 14:12:53 UTC","RemoteUrl":"https://github.com/ManuelHentschel/vscDebugger","RemoteRef":"v0.5.6","RemoteSha":"a81598d153b194b6e2d85d0b86da450b12949a3b","Packaged":"2025-11-28 14:47:45 UTC; root","Author":"Manuel Hentschel [aut, cre],\n  Kun Ren [ctb],\n  Denes Toth [ctb] (ORCID: <https://orcid.org/0000-0003-4262-3217>)","Maintainer":"Manuel Hentschel <Manuel.Hentschel@outlook.com>","Built":"R 4.5.0; x86_64-pc-linux-gnu; 2025-12-01 11:20:13 UTC; unix"}}
[info....] [11:50:59.964] [ ] R Package ok
[dapIn...] [11:50:59.965] [n] Content-Length: 46
[dapIn...] [11:50:59.965] [n] 
[dapIn...] [11:50:59.965] [ ] {"seq":0,"type":"event","event":"initialized"}
[stdout..] [11:50:59.965] [n] <#v\s\c>
[debug...] [11:50:59.965] [ ] matches prompt: topLevel
[dapOut..] [11:50:59.971] [n] Content-Length: 644
[dapOut..] [11:50:59.971] [n] 
[dapOut..] [11:50:59.971] [ ] {"command":"launch","arguments":{"type":"R-Debugger","name":"Run File","request":"launch","debugMode":"file","workingDirectory":"/home/TOP/kbrock/travelpaths-devel","file":".vscode/run_file.R","allowGlobalDebugging":true,"env":{"ACTIVE_FILE":"/home/TOP/kbrock/travelpaths-devel/pkgs/trackframe/devel/performance.Rmd"},"loadPackages":["pkgs/trackframe"],"__configurationTarget":6,"rPath":"","supportsStdoutReading":true,"supportsWriteToStdinEvent":true,"supportsShowingPromptRequest":true,"overwriteHelp":false,"launchDirectory":"/home/TOP/kbrock/travelpaths-devel","__sessionId":"878fa1fa-02db-4b20-b703-f2a9a5214303"},"type":"request","seq":2}
[dapOut..] [11:50:59.975] [n] Content-Length: 226
[dapOut..] [11:50:59.975] [n] 
[dapOut..] [11:50:59.975] [ ] {"command":"setBreakpoints","arguments":{"source":{"name":"trackframe.R","path":"/home/TOP/kbrock/travelpaths-devel/pkgs/trackframe/R/trackframe.R"},"lines":[],"breakpoints":[],"sourceModified":false},"type":"request","seq":3}
[dapOut..] [11:50:59.976] [n] Content-Length: 99
[dapOut..] [11:50:59.976] [n] 
[dapOut..] [11:50:59.976] [ ] {"command":"setExceptionBreakpoints","arguments":{"filters":["fromFile"]},"type":"request","seq":4}
[debug...] [11:51:00.016] [ ] handling prompt: topLevel
[stdin...] [11:51:00.016] [n] vscDebugger::.vsc.listenForDAP(timeout = -1)
[dapOut..] [11:51:00.016] [n] Content-Length: 103
[dapOut..] [11:51:00.016] [n] 
[dapOut..] [11:51:00.016] [ ] {"command":"custom","arguments":{"reason":"showingPrompt","which":"topLevel"},"seq":0,"type":"request"}
[stdout..] [11:51:00.017] [n] vscDebugger::.vsc.listenForDAP(timeout = -1)
[stderr..] [11:51:00.304] [n] ℹ Loading trackframe
[dapIn...] [11:51:01.024] [n] Content-Length: 77
[dapIn...] [11:51:01.024] [n] 
[dapIn...] [11:51:01.024] [ ] {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true}
[info....] [11:51:01.046] [ ] Killing R...
[cpinfo..] [11:51:01.046] [ ] sending signal SIGKILL...
[cpinfo..] [11:51:01.055] [ ] sent signal
[dapIn...] [11:51:01.065] [n] Content-Length: 111
[dapIn...] [11:51:01.065] [n] 
[dapIn...] [11:51:01.065] [n] {"seq":0,"type":"response","request_seq":3,"command":"setBreakpoints","success":true,"body":{"breakpoints":[]}}Content-Length: 94
[dapIn...] [11:51:01.065] [n] 
[dapIn...] [11:51:01.065] [ ] {"seq":0,"type":"response","request_seq":4,"command":"setExceptionBreakpoints","success":true}
[dapOut..] [11:51:01.071] [n] Content-Length: 56
[dapOut..] [11:51:01.071] [n] 
[dapOut..] [11:51:01.071] [ ] {"command":"configurationDone","type":"request","seq":5}
[dapIn...] [11:51:01.074] [n] Content-Length: 158
[dapIn...] [11:51:01.074] [n] 
[dapIn...] [11:51:01.074] [ ] {"seq":0,"type":"event","event":"capabilities","body":{"capabilities":{"supportsTerminateRequest":false,"supportsStepBack":false,"supportsSetVariable":true}}}
[dapIn...] [11:51:01.114] [n] Content-Length: 88
[dapIn...] [11:51:01.114] [n] 
[dapIn...] [11:51:01.114] [ ] {"seq":0,"type":"response","request_seq":5,"command":"configurationDone","success":true}
[dapOut..] [11:51:01.152] [n] Content-Length: 46
[dapOut..] [11:51:01.152] [n] 
[dapOut..] [11:51:01.152] [ ] {"command":"threads","type":"request","seq":6}
[stderr..] [11:51:01.353] [n] ℹ Loading trackframe
[dapIn...] [11:51:06.617] [n] Content-Length: 223
[dapIn...] [11:51:06.617] [n] 
[dapIn...] [11:51:06.617] [ ] {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"[1] \"DONE\"\n","variablesReference":0,"source":{"name":"run_file.R","path":"/home/TOP/kbrock/travelpaths-devel/.vscode/run_file.R"},"line":18}}
[stdout..] [11:51:06.625] [n] <#v\s\c>
[debug...] [11:51:06.625] [ ] matches prompt: topLevel
[debug...] [11:51:06.676] [ ] handling prompt: topLevel
[stdin...] [11:51:06.676] [n] vscDebugger::.vsc.listenForDAP(timeout = -1)
[dapOut..] [11:51:06.676] [n] Content-Length: 103
[dapOut..] [11:51:06.676] [n] 
[dapOut..] [11:51:06.676] [ ] {"command":"custom","arguments":{"reason":"showingPrompt","which":"topLevel"},"seq":0,"type":"request"}
[stdout..] [11:51:06.676] [n] vscDebugger::.vsc.listenForDAP(timeout = -1)
[dapIn...] [11:51:06.678] [n] Content-Length: 131
[dapIn...] [11:51:06.678] [n] 
[dapIn...] [11:51:06.678] [ ] {"seq":0,"type":"event","event":"stopped","body":{"reason":"step","allThreadsStopped":true,"preserveFocusHint":false,"threadId":1}}
[dapIn...] [11:51:06.679] [n] Content-Length: 126
[dapIn...] [11:51:06.679] [n] 
[dapIn...] [11:51:06.679] [ ] {"seq":0,"type":"response","request_seq":6,"command":"threads","success":true,"body":{"threads":[{"id":1,"name":"Thread 1"}]}}
[dapIn...] [11:51:06.680] [n] Content-Length: 131
[dapIn...] [11:51:06.680] [n] 
[dapIn...] [11:51:06.680] [ ] {"seq":0,"type":"event","event":"stopped","body":{"reason":"step","allThreadsStopped":true,"preserveFocusHint":false,"threadId":1}}
[dapOut..] [11:51:06.684] [n] Content-Length: 46
[dapOut..] [11:51:06.684] [n] 
[dapOut..] [11:51:06.684] [ ] {"command":"threads","type":"request","seq":7}
[dapIn...] [11:51:06.687] [n] Content-Length: 126
[dapIn...] [11:51:06.687] [n] 
[dapIn...] [11:51:06.687] [ ] {"seq":0,"type":"response","request_seq":7,"command":"threads","success":true,"body":{"threads":[{"id":1,"name":"Thread 1"}]}}
[dapOut..] [11:51:06.693] [n] Content-Length: 46
[dapOut..] [11:51:06.693] [n] 
[dapOut..] [11:51:06.693] [ ] {"command":"threads","type":"request","seq":8}
[dapIn...] [11:51:06.696] [n] Content-Length: 126
[dapIn...] [11:51:06.696] [n] 
[dapIn...] [11:51:06.696] [ ] {"seq":0,"type":"response","request_seq":8,"command":"threads","success":true,"body":{"threads":[{"id":1,"name":"Thread 1"}]}}
[dapOut..] [11:51:06.699] [n] Content-Length: 103
[dapOut..] [11:51:06.699] [n] 
[dapOut..] [11:51:06.699] [ ] {"command":"stackTrace","arguments":{"threadId":1,"startFrame":0,"levels":20},"type":"request","seq":9}
[dapOut..] [11:51:06.702] [n] Content-Length: 104
[dapOut..] [11:51:06.702] [n] 
[dapOut..] [11:51:06.702] [ ] {"command":"stackTrace","arguments":{"threadId":1,"startFrame":0,"levels":20},"type":"request","seq":10}
[dapIn...] [11:51:06.712] [n] Content-Length: 184
[dapIn...] [11:51:06.712] [n] 
[dapIn...] [11:51:06.712] [ ] {"seq":0,"type":"response","request_seq":9,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"name":"Global Workspace","presentationHint":"label"}],"totalFrames":1}}
[dapIn...] [11:51:06.714] [n] Content-Length: 185
[dapIn...] [11:51:06.714] [n] 
[dapIn...] [11:51:06.714] [ ] {"seq":0,"type":"response","request_seq":10,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"name":"Global Workspace","presentationHint":"label"}],"totalFrames":1}}
[dapOut..] [11:51:06.739] [n] Content-Length: 104
[dapOut..] [11:51:06.739] [n] 
[dapOut..] [11:51:06.739] [ ] {"command":"stackTrace","arguments":{"threadId":1,"startFrame":0,"levels":20},"type":"request","seq":11}
[dapIn...] [11:51:06.743] [n] Content-Length: 185
[dapIn...] [11:51:06.743] [n] 
[dapIn...] [11:51:06.743] [ ] {"seq":0,"type":"response","request_seq":11,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"name":"Global Workspace","presentationHint":"label"}],"totalFrames":1}}
[dapOut..] [11:51:18.245] [n] Content-Length: 79
[dapOut..] [11:51:18.245] [n] 
[dapOut..] [11:51:18.245] [ ] {"command":"disconnect","arguments":{"restart":true},"type":"request","seq":12}
[dapIn...] [11:51:18.249] [n] Content-Length: 82
[dapIn...] [11:51:18.249] [n] 
[dapIn...] [11:51:18.249] [ ] {"seq":0,"type":"response","request_seq":12,"command":"disconnect","success":true}
[cpinfo..] [11:51:18.270] [ ] sending signal SIGKILL...
[cpinfo..] [11:51:18.282] [ ] sent signal
[cpinfo..] [11:51:18.332] [ ] Child process exited with code: 0
[info....] [11:51:18.596] [ ] Request handled in VS Code:
[info....] [11:51:18.596] [ ] {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"R-Debugger","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true,"supportsANSIStyling":true,"threadId":1,"extensionVersion":"0.5.6","rStrings":{"prompt":"<#v\\s\\c>","continue":"<##v\\s\\c>","startup":"<v\\s\\c\\R\\STARTUP>","libraryNotFound":"<v\\s\\c\\LIBRARY\\NOT\\FOUND>","packageName":"vscDebugger"}},"type":"request","seq":1}
[info....] [11:51:18.597] [ ] R Startup:
[info....] [11:51:18.597] [ ] {"path":"/usr/bin/R","args":["--quiet","--no-save","--interactive"],"cwd":"/home/TOP/kbrock/travelpaths-devel","env":{"ACTIVE_FILE":"/home/TOP/kbrock/travelpaths-devel/pkgs/trackframe/devel/performance.Rmd"}}
[stdin...] [11:51:18.610] [n] base::cat("<v\\s\\c\\R\\STARTUP>\n")
[stdout..] [11:51:19.122] [n] > base::cat("<v\\s\\c\\R\\STARTUP>\n")
[stdout..] [11:51:19.122] [n] <v\s\c\R\STARTUP>
[info....] [11:51:19.123] [ ] R Session ready
[stdin...] [11:51:19.123] [n] base::tryCatch(expr=base::library(vscDebugger), error=function(e) base::cat("<v\\s\\c\\LIBRARY\\NOT\\FOUND>\n"))
[info....] [11:51:19.123] [ ] Initialize Arguments:
[info....] [11:51:19.123] [ ] {"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"R-Debugger","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true,"supportsANSIStyling":true,"threadId":1,"extensionVersion":"0.5.6","rStrings":{"prompt":"<#v\\s\\c>","continue":"<##v\\s\\c>","startup":"<v\\s\\c\\R\\STARTUP>","libraryNotFound":"<v\\s\\c\\LIBRARY\\NOT\\FOUND>","packageName":"vscDebugger"},"useDapSocket":true,"dapHost":"localhost","dapPort":33361,"useSinkSocket":true,"sinkHost":"localhost","sinkPort":44493}
[stdin...] [11:51:19.123] [n] vscDebugger:::.vsc.handleDap("Content-Length: 877\n\n{\"command\":\"initialize\",\"arguments\":{\"clientID\":\"vscode\",\"clientName\":\"Visual Studio Code\",\"adapterID\":\"R-Debugger\",\"pathFormat\":\"path\",\"linesStartAt1\":true,\"columnsStartAt1\":true,\"supportsVariableType\":true,\"supportsVariablePaging\":true,\"supportsRunInTerminalRequest\":true,\"locale\":\"en\",\"supportsProgressReporting\":true,\"supportsInvalidatedEvent\":true,\"supportsMemoryReferences\":true,\"supportsArgsCanBeInterpretedByShell\":true,\"supportsMemoryEvent\":true,\"supportsStartDebuggingRequest\":true,\"supportsANSIStyling\":true,\"threadId\":1,\"extensionVersion\":\"0.5.6\",\"rStrings\":{\"prompt\":\"<#v\\\\s\\\\c>\",\"continue\":\"<##v\\\\s\\\\c>\",\"startup\":\"<v\\\\s\\\\c\\\\R\\\\STARTUP>\",\"libraryNotFound\":\"<v\\\\s\\\\c\\\\LIBRARY\\\\NOT\\\\FOUND>\",\"packageName\":\"vscDebugger\"},\"useDapSocket\":true,\"dapHost\":\"localhost\",\"dapPort\":33361,\"useSinkSocket\":true,\"sinkHost\":\"localhost\",\"sinkPort\":44493},\"type\":\"request\",\"seq\":1}")
[stdout..] [11:51:19.123] [ ] > 
[stdout..] [11:51:19.123] [n] <n(e) base::cat("<v\\s\\c\\LIBRARY\\NOT\\FOUND>\n"))
[stdout..] [11:51:19.220] [n] > <sinkPort\":44493},\"type\":\"request\",\"seq\":1}")
[stdout..] [11:51:19.234] [n] <#v\s\c>
[dapIn...] [11:51:19.235] [n] Content-Length: 2429
[dapIn...] [11:51:19.235] [n] 
[dapIn...] [11:51:19.235] [n] {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsRestartRequest":false,"supportsDelayedStackTraceLoading":false,"supportsTerminateRequest":false,"supportsStepBack":false,"supportsConfigurationDoneRequest":true,"supportsEvaluateForHovers":false,"supportsDataBreakpoints":false,"supportsCompletionsRequest":true,"completionTriggerCharacters":["[","$",":","@","(",")"],"supportsCancelRequest":false,"supportsBreakpointLocationsRequest":false,"supportsExceptionInfoRequest":false,"supportsExceptionOptions":true,"exceptionBreakpointFilters":[{"filter":"fromFile","label":"Errors from R Files","default":true},{"filter":"fromEval","label":"Errors from the Debug Console","default":false}],"supportsClipboardContext":true,"supportsSetVariable":true},"packageInfo":{"Package":"vscDebugger","Title":"Support for Visual Studio Code Debugger","Version":"0.5.6","Authors@R":"c(\n    person(\n        given = \"Manuel\",\n        family = \"Hentschel\",\n        role = c(\"aut\", \"cre\"),\n        email = \"Manuel.Hentschel@outlook.com\"\n    ),\n    person(\n        given = \"Kun\",\n        family = \"Ren\",\n        role = \"ctb\",\n        email = \"mail@renkun.me\"\n    ),\n    person(\n        given = \"Denes\", \n        family = \"Toth\", \n        role = \"ctb\",\n        email = \"toth.denes@kogentum.hu\", \n        comment = c(ORCID = \"0000-0003-4262-3217\")\n    ))","Description":"Provides support for a visual studio code debugger","License":"MIT","URL":"https://ManuelHentschel.github.io/vscDebugger/,\nhttps://github.com/ManuelHentschel/vscDebugger","BugReports":"https://github.com/ManuelHentschel/vscDebugger/issues","Imports":"jsonlite, R6, tcltk","Suggests":"pkgload, knitr, rmarkdown, markdown","Encoding":"UTF-8","NeedsCompilation":"yes","Roxygen":"list(markdown = TRUE)","RoxygenNote":"7.3.2","VignetteBuilder":"knitr","Repository":"https://manuelhentschel.r-universe.dev","Date/Publication":"2025-11-28 14:12:53 UTC","RemoteUrl":"https://github.com/ManuelHentschel/vscDebugger","RemoteRef":"v0.5.6","RemoteSha":"a81598d153b194b6e2d85d0b86da450b12949a3b","Packaged":"2025-11-28 14:47:45 UTC; root","Author":"Manuel Hentschel [aut, cre],\n  Kun Ren [ctb],\n  Denes Toth [ctb] (ORCID: <https://orcid.org/0000-0003-4262-3217>)","Maintainer":"Manuel Hentschel <Manuel.Hentschel@outlook.com>","Built":"R 4.5.0; x86_64-pc-linux-gnu; 2025-12-01 11:20:13 UTC; unix"}}Content-Length: 46
[dapIn...] [11:51:19.235] [n] 
[dapIn...] [11:51:19.235] [ ] {"seq":0,"type":"event","event":"initialized"}
[info....] [11:51:19.235] [ ] R Package ok
[dapOut..] [11:51:19.259] [n] Content-Length: 644
[dapOut..] [11:51:19.259] [n] 
[dapOut..] [11:51:19.259] [ ] {"command":"launch","arguments":{"type":"R-Debugger","name":"Run File","request":"launch","debugMode":"file","workingDirectory":"/home/TOP/kbrock/travelpaths-devel","file":".vscode/run_file.R","allowGlobalDebugging":true,"env":{"ACTIVE_FILE":"/home/TOP/kbrock/travelpaths-devel/pkgs/trackframe/devel/performance.Rmd"},"loadPackages":["pkgs/trackframe"],"__configurationTarget":6,"rPath":"","supportsStdoutReading":true,"supportsWriteToStdinEvent":true,"supportsShowingPromptRequest":true,"overwriteHelp":false,"launchDirectory":"/home/TOP/kbrock/travelpaths-devel","__sessionId":"878fa1fa-02db-4b20-b703-f2a9a5214303"},"type":"request","seq":2}
[dapOut..] [11:51:19.259] [n] Content-Length: 226
[dapOut..] [11:51:19.259] [n] 
[dapOut..] [11:51:19.259] [ ] {"command":"setBreakpoints","arguments":{"source":{"name":"trackframe.R","path":"/home/TOP/kbrock/travelpaths-devel/pkgs/trackframe/R/trackframe.R"},"lines":[],"breakpoints":[],"sourceModified":false},"type":"request","seq":3}
[dapOut..] [11:51:19.260] [n] Content-Length: 99
[dapOut..] [11:51:19.260] [n] 
[dapOut..] [11:51:19.260] [ ] {"command":"setExceptionBreakpoints","arguments":{"filters":["fromFile"]},"type":"request","seq":4}
[info....] [11:51:20.245] [ ] Killing R...
[cpinfo..] [11:51:20.245] [ ] process already exited with code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions