Cannot inspect Rust panics
还没有人认领这个 Issue。
- #566 来自 @Hofer-Julian —— 已关闭,未合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, rust
调研方向
首先跟踪 resource:///re/sonny/Workbench/Document.js 中所示的 save 和 Document/start/handler_id 路径,尤其是第 18 行和第 27 行,并复现 Rust runtime panic。将此行为与可见的 compile-error 路径进行比较;完成的标准是可以在控制台中检查 panic 详情,而不是只产生所示的 unhandled-promise 警告。
由索引模型根据 Issue 内容生成。
描述
If Rust fails to compile, the error message is nicely visible in the console.
However, if Rust panics at runtime, all you get is:
(re.sonny.Workbench.Devel:4): Gjs-WARNING **: 20:30:17.056: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
save@resource:///re/sonny/Workbench/Document.js:18:8
Document/start/handler_id<@resource:///re/sonny/Workbench/Document.js:27:7
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
- 主要语言
- JavaScript
- 星标
- 846
- 派生
- 91
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
workbenchdev/Workbench 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
workbenchdev/Workbench#1028 · 11 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
workbenchdev/Workbench#1019 ·
-
难度 4/5 3-5 天 新手友好度 30/100
workbenchdev/Workbench#1014 ·
-
难度 4/5 3-5 天 新手友好度 35/100
workbenchdev/Workbench#1007 · 1 条评论 ·
-
How could I work with multiple user interfaces (e.g. multiple .ui files, or multiple blueprints)?未关闭
难度 5/5 一周以上 新手友好度 25/100
workbenchdev/Workbench#1006 · 1 条评论 · 1 个 reaction ·
查看 workbenchdev/Workbench 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
-
[BUG] Tools returned by input processors get an empty context.agent.agentId可能重新可做 关联的 PR 已关闭且未合并。 未关闭@mastra/core effort:low impact:medium status: auto-triaged Tools
难度 2/5 1-3 小时 新手友好度 68/100
mastra-ai/mastra#26794 · 3 条评论 ·
维护者通常 1 天内回复
-
release:v5.34
难度 1/5 1-3 小时 新手友好度 88/100
Jason-Vaughan/TangleClaw#2365 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
enhancement
难度 1/5 1-3 小时 新手友好度 85/100
holepunchto/hrpc-test#28 ·