To String Panel

The To String Panel is the right-hand side panel in the top-level String/To String Window. The To String Panel displays in a text area, the result of invoking the toString() method on a selected object displayed in the Locals Panel, This Panel, Watch Panels, or Source Panel in the top-level Main Window; in an Object Panel or Array Panel in the top-level Objects Window; by right-clicking and selecting To String... from the resulting popup context menu.

Note well that invoking the toString() method causes all threads in the target JVM to be resumed. The target JVM thread (the debug event thread) where the last debugger event occurred (such as hitting a breakpoint), will execute the toString() method. When the toString() invocation completes, the target JVM will be suspended again. The debug event thread will be suspended once again, at the location it was previously suspended at, before the toString() method invocation. All other target threads may have advanced location.

The footer displays (in blue) the object's class name, variable name, and corresponding object ID. A tool tip displays the full class name (including package names).

©2001-2010. debugtools.com LLC. All rights reserved.