gpt4 book ai didi

Unverified breakpoints with vscDebugger on VSCode(VSCode上的vscDebugger未验证断点)

转载 作者:bug小助手 更新时间:2023-10-28 10:55:36 26 4
gpt4 key购买 nike



I have set up R Debugger on VSCode but it doesn't hit the breakpoints because they're "unverified". I have updated R to version 4.3.1 and reinstalled the extensions and the vscDebugger package, but I can't make it work. I have tried the "Launch R-Workspace" and "Attach to R process", setting breakpoints before launching the debugger and they're shown with red dots, so they're verified, but they become unverified with grey dots as soon as the debugger launches.

我已经在VSCode上设置了R调试器,但它没有命中断点,因为它们是“未经验证的”。我已经将R更新到版本4.3.1,并重新安装了扩展和vscDebugger包,但我无法使其工作。我尝试了“Launch R-Workspace”和“Attach to R Process”,在启动调试器之前设置断点,它们用红点显示,因此它们被验证,但一旦调试器启动,它们就变得未验证,用灰色圆点。


I have tried creating a new workspace with one folder and one test R file in it, and I get the same behaviour. What can I do to make it work?

我尝试创建一个新的工作区,其中包含一个文件夹和一个测试R文件,我得到了相同的行为。我能做些什么才能让它起作用?


This is the output of R.Version() just in case

这是R.Version()的输出,以防万一


R.Version()
$platform
[1] "x86_64-w64-mingw32"

$arch
[1] "x86_64"

$os
[1] "mingw32"

$crt
[1] "ucrt"

$system
[1] "x86_64, mingw32"

$status
[1] ""

$major
[1] "4"

$minor
[1] "3.1"

$year
[1] "2023"

$month
[1] "06"

$day
[1] "16"

$`svn rev`
[1] "84548"

$language
[1] "R"

$version.string
[1] "R version 4.3.1 (2023-06-16 ucrt)"

$nickname
[1] "Beagle Scouts"

更多回答
优秀答案推荐
更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com