+1, (display of primitive arrays could be enhanced too) Dirk Zoettl __________________________________________________________
-----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, I am trying to inspect strings in the debugger (multiple lines, about 2-4KB each) and the experience is very unpleasant ('Develope with Pleasure'(TM), remember ;-) ). 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 ;-)). I must be missing something fundemental here. With all the advanced factoring IDEA provides, there must be a better way to inspect such a common type like String. Right ? Thanks, Tal _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
