Please add to the debugger an inspector for strings.

String is a very basic data type and is not just another object class. With
the current version, inspecting multi line and relatively long strings
(2-4K) is very incontinent (see below a copy of a message I posted to the
EAP list).

Some useful features are:

1. Hide the internal implementation of the String class (all those internal
members).

2. Ability to see a clean view of the String as it will look in a text
editor (that is, not as an array or a one long line as it is now).

3. Ability to view long strings (e.g. scroll).

4. Ability to copy portion of the string to the clipboard.

5. Ability to view on demand special char (tabs, CR, LF, etc).

6. (bonus) ability to change the content of a String variable by editing its
text.

Thanks for a great product.

Tal


> -----Original Message-----
> From: Tal Dayan [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 23. Oktober 2001 01:11
> To: [EMAIL PROTECTED]
> Subject: [Eap-list] How to inspect strings in the debugger ?
>
>
> Hello,
>
> ..... few lines deleted ....
>
> Here are few methods I tried:
>
> Method 1: Position the mouse over the String variables - a popup
> window with
> the string value is displayed.
> Problems:
> * Only the first 20-40 lines are displayed with no option to scroll.
> * The popup window disappears after few seconds
>
>
> Method 2: Evaluate myString.toString().
> Problems:
> * The string is display in a single line and truncated. Right clicking on
> View toString(), helps a little bit and displays the entire
> string (strange,
> the evaluated expression already contains toString()) but still
> as a single
> line with strange chars for the CR/LF.
>
>
> Method 3: Open an inspector and view the internals of the String object.
> Problems:
> * The string value is displayed as an array of chars which makes it very
> difficult to examine the content.
> * A lot of clutter with all the String internal stuff like
> 'ctbConverter=null' (whatever this means ;-)).
>
> ... few lines deleted ....
>
> Thanks,
>
> Tal


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to