Debugger unusable anymore due to warnings

未关闭
#337 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
julia
领域
devtools

调研方向

首先,在 VSCode 中从 Julia REPL 重现调试器,并记录 packagedef.jl:1111 报告的 Revise 警告。一起调查报告的警告、错误的断点位置和无法正常工作的宏,然后验证警告不再出现,并且断点和宏都能正确运行。

由索引模型根据 Issue 内容生成。

描述

In the last week the debugger (run from the REPL inside VSCode) has stopped being usable. One issue is I constantly get warnings like the following:

1|debug> 
┌ Warning: Tuple{Plots.var"##plot#188", Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}}, typeof(plot), Vararg{Any}} was not found
└ @ Revise ~/.julia/packages/Revise/t6Vjc/src/packagedef.jl:1111
┌ Warning: Tuple{Plots.var"##plot#188", Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}}, typeof(plot), Vararg{Any}} was not found
└ @ Revise ~/.julia/packages/Revise/t6Vjc/src/packagedef.jl:1111
┌ Warning: Tuple{Plots.var"##plot#188", Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}}, typeof(plot), Vararg{Any}} was not found
└ @ Revise ~/.julia/packages/Revise/t6Vjc/src/packagedef.jl:1111

There are a number of other issues: breakpoints being triggered in the wrong function, macros not working, etc.

I don't remember seeing these issues 3–6 months ago so I'm not sure what's changed.

主要语言
Julia
星标
515
派生
50
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JuliaDebug/Debugger.jl 的其他 Issue

查看 JuliaDebug/Debugger.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。