mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 23:02:28 +01:00
Date:2009-01-25T23:31:24.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@168 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
69 lines
2.4 KiB
Plaintext
69 lines
2.4 KiB
Plaintext
[[Property:title|Object Viewer (also known as Expanded display)]]
|
|
[[Property:weight|4]]
|
|
[[Property:uuid|62002ce3-37f9-22de-39f0-0930468a67be]]
|
|
You can either show the "Object Viewer" tool through the menu path
|
|
<code lang=text>
|
|
Execution --> Tools --> Object Viewer</code>
|
|
|
|
or pop-up the object viewer dialog by clicking the button ( [[Image:debugger-expand-info-icon]] ) located in the tool bar of the [[Object tool|objects tool]] and [[Expression evaluation|watch tool]].
|
|
|
|
This command [[Image:debugger-expand-info-icon]] opens an object viewer dialog when an object is dropped onto the button.
|
|
|
|
Depending the nature of the dropped object, you can view it with one or more of several viewers:
|
|
* '''Object dump''': dump a text representation of the value
|
|
* '''String display''': string representation
|
|
* '''XML display''': xml viewer
|
|
* '''Object browse''': browse the object, as you would do in the Object or watch tools
|
|
* '''Object internal''': display some internal data elements such as:
|
|
** <code>class_name</code>
|
|
** <code>type_name</code>
|
|
** <code>dynamic_type</code>
|
|
** <code>field_count</code>
|
|
** <code>deep_physicial_size</code>
|
|
** <code>physical_size</code>
|
|
|
|
{{note|The "string display" viewer is available for objects with a string representation, for instance objects whose types conform to [[ref:/libraries/base/reference/string_8_chart|STRING_8]] or conform to [[ref:/libraries/base/reference/debug_output_chart|DEBUG_OUTPUT]] (see [[Debug output|Debug Output]]. )}}
|
|
|
|
{{note|The "XML display" is available for objects eligible for "String display", and whose string representation has XML content. The viewer displays XML in a tree-enabled grid.}}
|
|
|
|
|
|
'''String display viewer:''':
|
|
|
|
|
|
[[Image:expanded-display-default]]
|
|
|
|
Displays the object as a string, by default the displayed length is 50:<br/>
|
|
If the limits are over the current slice limits, the displayed string will end by "..." to show there is more.<br/>
|
|
If you click on the auto expand button [[Image:debugger-object-expand-icon]] , the slice limits will be set to the lower and upper limits of the string value.
|
|
|
|
You can enable or disable the line wrapping by clicking onto [[Image:general-word-wrap-icon]] .
|
|
|
|
|
|
|
|
'''Object dump viewer:'''
|
|
|
|
|
|
[[Image:object-viewer-dump]]
|
|
|
|
|
|
'''Object browse viewer:'''
|
|
|
|
|
|
[[Image:object-viewer-browse]]
|
|
|
|
|
|
'''Object internal viewer:'''
|
|
|
|
|
|
[[Image:object-viewer-internal]]
|
|
|
|
|
|
'''XML viewer:'''
|
|
|
|
|
|
[[Image:object-viewer-xml]]
|
|
|
|
|
|
|
|
|