为什么 R 调试器无法验证所有断点(Vscode)
我在 Vscode 中使用 R 调试器来开发 RShiny 应用程序,同时使用 SSH 连接到远程。
我的 launch.json 文件如下所示:
{
"version": "0.2.0",
"configurations": [
{
"type": "R-Debugger",
"name": "Launch R-Workspace",
"request": "launch",
"debugMode": "workspace",
"workingDirectory": "", // If I put my actual path here, it changes nothing
"allowGlobalDebugging":true
}
]
}
出于本主题的目的,我有以下文件夹/文件:
src/www/uis
src/server.R
我在 src/www/uis 以及 src/server.R 内的文件中设置了断点。 当我使用 Launch R-Workspace 时,src/www/uis 处的断点将触发,但在 src/server.r 内它们会变成“未经验证的断点”。
我尝试过的: 阅读类似的问题并发现答案似乎不相关。通读 文档,我没有看到任何对我有用的内容。
有什么见解吗? 谢谢
I am using R Debugger in Vscode to develop an RShiny app while using SSH to connect to the remote.
My launch.json file looks like this:
{
"version": "0.2.0",
"configurations": [
{
"type": "R-Debugger",
"name": "Launch R-Workspace",
"request": "launch",
"debugMode": "workspace",
"workingDirectory": "", // If I put my actual path here, it changes nothing
"allowGlobalDebugging":true
}
]
}
For the purposes of this topic, I have these folders/files:
src/www/uis
src/server.R
I set breakpoints in files within src/www/uis as well as within src/server.R.
When I use Launch R-Workspace, the breakpoints at src/www/uis will trigger but within src/server.r they turn into "unverified breakpoints".
What I've tried:
Reading through similar questions and findings answers that did not seem relevant. Reading through the documentation where I did not see anything useful to me.
Any insight?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论