microsoft / microsoft/java-debug
evaluate: Error result is truncated
未关闭
还没有人认领这个 Issue。
ai-triaged
needs more info
question
- 主要语言
- Java
- 星标
- 409
- 派生
- 204
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 4
描述
When an evaluate request fails due to an error in the code being evaluated, the language server reports an unhelpful truncated message:
{
"id": 1010,
"format": "Cannot evaluate because of org.eclipse.debug.core.DebugException: com.sun.jdi.InvocationException occurred invoking method.."
}
Sometimes this is long enough to be useful, but for errors with longer stack traces, it's often not clear what the error actually was. Is there any way to always get the full error message?
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪 evaluate 请求的错误处理,以及生成 issue 中所示截断的 "format" 值的格式化过程。确认较长的评估失败是如何被缩短的,然后验证响应是否公开完整的错误消息,同时不丢失现有的错误上下文。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100