| Summary: | Cannot add detail formatter for byte[] | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Juergen Weber <juergen> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ivan.outer, Michael_Rennie |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Juergen Weber
Want it too, not fixed in 20120614-1722. Why doesn't Eclipse resolve e.g. "[B" class name and other primitives and arrays of classes/primitives? While debugging it is often useful to see some buffer content as a String (or something else). Especially when you work with HTTP or other text related protocols. Found a workaround: write a static method public static String hexdump(byte[] b) and put this into a jar in jre/lib/endorsed of the VM Eclipse runs in. Then you can use in Expressions View an expression like Hexdump.hexdump(myarry) *** This bug has been marked as a duplicate of bug 187922 *** |