Hi Karlik,
> > 1. When displaying bytes in hex, there should be only 2
> > hex-digits, even when the value is "negative".
> > ( instead of 0xFFFFFF88 --> 0x88 )
>
> What is the data type? If it is an int, then 0x88
> is significantly different from 0xFFFFFF88.
Data type is byte - of cause.
> > 3. There should be another option to display values as
> > characters for single-byte character arrays ( byte[] ).
>
> It would be nice if you could "script" what you want
> displayed. For instance, if I told the debugger to
> display all byte arrays as "new String (value)" ...
What do you mean by "script" ?
You could use a specialized toString method for display, but since
this function is used in a more general manner I would propose to
add a new entry called toDebugString which can be called for
debugging purposes.
Depending on the data type an attemt to call the following functions
could be made:
(primitive) --> DebugUtils.primitive(Object primObj)
(a primitive array) --> DebugUtils.primitiveArray(Object primArray)
Object --> 1. DebugUtils.toDebugString(Object obj)
--> 2. obj.toDebugString()
So you can even add a special function for displaying String and
StringBuffer with this approach.
Dirk Zoettl
____________________________________________________________________________
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list