| Summary: | Enhance reported JDWP errors | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
For quick reference the complete listing of known JDWP error codes can be found here: http://download.oracle.com/javase/6/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_Error This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
After having to look up what JDWP error code a given value maps to (for the zillionth time), I figured we should just provide the value text in the reported exception. For example consider the following JDWP error: !ENTRY org.eclipse.jdt.debug 4 125 2011-04-19 14:54:35.333 !MESSAGE Internal error logged from JDI Debug: !STACK 0 com.sun.jdi.InternalException: Got error code in reply:13 at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:277) at <snip> In this case error code 13 is THREAD_NOT_SUSPENDED. It would be nice to just have that information in the reported error, like: !ENTRY org.eclipse.jdt.debug 4 125 2011-04-19 14:54:35.333 !MESSAGE Internal error logged from JDI Debug: !STACK 0 com.sun.jdi.InternalException: Got error code in reply:13 (THREAD_NOT_SUSPENDED) at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:277) at <snip>