朱莉娅vs代码调试器被卡住了

发布于 2025-02-03 09:29:49 字数 538 浏览 4 评论 0原文

我正在尝试调试我正在维护的朱莉娅软件包(请参阅测试脚本: https://github.com/pierrebarrat/treeknit.jl/blob/blob/master/master/test/splitgraph/3solutions/test.jl

)在相同的功能(splitgraph.sa_opt)处。

我正在运行的代码在不使用调试器时在大约300毫秒内完成的代码非常快。似乎效果很好,没有错误,所以我完全困惑了正在发生的事情。

我正在为VS代码使用默认的Julia扩展名,并且一切仍设置为默认。

有没有人遇到这个问题并找出解决方案?我检查了堆栈溢出和朱莉娅的话语是否有此问题,但找不到任何类似的问题。

I'm trying to debug a Julia package I'm maintaining (see test script: https://github.com/PierreBarrat/TreeKnit.jl/blob/master/test/splitgraph/3solutions/test.jl)

When I run the debugger, it always gets stuck at the same function (SplitGraph.sa_opt).

The code I'm running completes really fast, in around 300 milliseconds when not using a debugger. It seems to work alright, there's no error, so I'm totally confused what's happening.

I'm using the default Julia extension for VS code, and everything is still set to default.

Has anyone ever encountered this problem and figured out a solution? I checked Stack Overflow and Julia discourse for this problem but couldn't find any similar questions.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文