evaluate: Error result is truncated

未關閉
#343 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
java
領域
devtools

研究方向

先追蹤 evaluate 請求的錯誤處理,以及產生 issue 中所示截斷 "format" 值的格式化流程。確認較長的評估失敗如何被縮短,接著驗證回應是否公開完整的錯誤訊息,同時不遺失現有的錯誤內容。

由索引模型根據 Issue 內容生成。

描述

ai-triaged needs more info question

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?

主要語言
Java
星號
409
分支
204
平均合併
1 天 13 小時
30 天內合併 PR
4

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

microsoft/java-debug 的其他 Issue

查看 microsoft/java-debug 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。