Author:admin

Date:2008-09-17T13:53:28.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@3 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2008-09-17 13:53:28 +00:00
parent 4fee9356ea
commit 2ee31ab9c7
763 changed files with 36576 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
[[Property:title|Attribute symbols]]
[[Property:weight|1]]
In both trees of the [[Objects tool: Introduction|object tool]] , objects are displayed. Two categories are made for each objects: its attributes (grouped under the `attributes' folder [[Image:feature-attribute-icon]] ) and its once routines (grouped under the `once routines' folder [[Image:feature-once-icon]] ).
All follow the following symbol scheme to describe the kind of each item:
* [[Image:debugger-object-immediate-icon]] An attribute of a basic type, such as <eiffel>[/libraries/base/reference/kernel/integer_chart.xml| INTEGER ]</eiffel>, <eiffel>[/libraries/base/reference/kernel/classic/double_chart.xml| DOUBLE ]</eiffel>,...
* [[Image:debugger-object-eiffel-icon]] An attribute that is a reference to an object
* [[Image:debugger-object-void-icon]] A Void reference
* [[Image:debugger-object-expanded-icon]] An object that is expanded
For .NET system, special symbols are used to describe :
* [[Image:debugger-object-dotnet-icon]] An object that is external (i.e not known as an Eiffel type)
* [[Image:debugger-object-dotnet-static-icon]] A static value object that is external (i.e not known as an Eiffel type)
* [[Image:debugger-object-static-icon]] A static value object that is known as an Eiffel type

View File

@@ -0,0 +1,13 @@
[[Property:title|Debug output]]
[[Property:weight|2]]
In both grids of the [[Objects tool: Introduction|object tool]] , objects are displayed. For virtually all objects, it is possible to display a user-definable string value next to the object address.
To do so, inherit from the class <eiffel>DEBUG_OUTPUT</eiffel> in the classes that should let their objects display a string value, and implement the `debug_output' feature. At run-time, the debugger will automatically query the result of this feature on all objects that define it and display it in the object tool and the [[Expression evaluation|evaluation tool]] .
{{sample| '''Sample''': The <eiffel>NUMERIC</eiffel> class inherits from the <eiffel>DEBUG_OUTPUT</eiffel> one so that it is possible to see the value of *_REF objects without expanding them. }}
{{tip| '''Tip''': If an object has a long string output or an output with carriage returns, for instance, pick-and-drop it to the expanded display command [[Image:debugger-expand-info-icon]] in the object tool. }}

View File

@@ -0,0 +1,11 @@
[[Property:title|Object tool]]
[[Property:weight|-11]]
* [[Objects tool: Introduction|Introduction]]
* [[Attribute symbols|Attribute symbols]]
* [[Debug output|Debug output]]
* [[Image:debugger-set-sizes-icon]] [[Set slice size command|Set slice size command]]
* [[Image:general-delete-icon]] [[Remove object command|Remove object command]]

View File

@@ -0,0 +1,47 @@
[[Property:title|Object Viewer (also known as Expanded display)]]
[[Property:weight|4]]
You can either show the "Object Viewer" tool (Menu Execution>Tools>Object Viewer, or popup the object viewer dialog thanks to the button located in the tool bar of the [[Object tool|objects tool]] and [[Expression evaluation|watch tool]] . <br/>
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 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 objects or watch tools
* '''Object internal''': display a few internal data such as <code>class_name</code>, <code>type_name</code>, <code>dynamic_type</code>, <code>field_count</code>, <code>deep_physicial_size</code>, and <code>physical_size</code>
{{note|Note that the "string display" viewer is available for object with a string representation, for instance object conformed to [[ref:/libraries/base/reference/string_8_chart]] or conform to [[ref:/libraries/base/reference/debug_output_chart]] (see [[Debug output|Debug Output]] )}}
{{note|And the "XML display" is available for object eligible to "String display", and whose string representation has XML content. The viewer is display XML in a basic tree enabled grid.}}
'''String display viewer:''':<br/>
<center> [[Image:expanded-display-default]] </center>
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:'''
<center> [[Image:object-viewer-dump]] </center>
'''Object browse viewer:'''
<center> [[Image:object-viewer-browse]] </center>
'''Object internal viewer:'''
<center> [[Image:object-viewer-internal]] </center>
'''XML viewer:'''
<center> [[Image:object-viewer-xml]] </center>

View File

@@ -0,0 +1,9 @@
[[Property:title|Remove object command]]
[[Property:weight|5]]
Located in the [[Objects tool: Introduction|object tool]] toolbar, this command [[Image:general-delete-icon]] discards an object from the [[Objects tool: Introduction|object tools]] . All top-level objects can be removed, except the first one, which is the object relative to the [[Callstack tool: Introduction|current call stack element]] .
Left-clicking on this button removes the selected object from the [[Objects tool: Introduction|object tools]] , if possible. It is also possible to [[Pick-and-drop mechanism|drop]] an object onto the button to remove the object.

View File

@@ -0,0 +1,18 @@
[[Property:title|Set slice size command]]
[[Property:weight|3]]
Located in the object tool toolbar, this command [[Image:debugger-set-sizes-icon]] changes the display size of special objects (i.e. objects whose class is [[ref:/libraries/base/reference/special_chart]] ).Since special objects may contain thousands of attributes, only the first fifty are displayed by default. If left-clicked, a dialog is popped up that sets the exploration indices of special objects that will be loaded in the future. <br/>
This popup also shows the "Maximum displayed string size" in the grid ([[Objects tool: Introduction|objects tool]] , or the [[Expression evaluation|watch tools]] ).
This dialog changes the settings for future special objects:
[[Image:set-default-slice-size-dlg]]
If a special object is [[Pick-and-drop mechanism|dropped]] onto this command, the special object that is dropped is shrunk or extended in the tree according to the new exploration indices it is given in the dialog box. The dropped object may be any object, top-level or not.
This dialog changes the settings for a single special object (the dropped object) :
[[Image:set-slice-size-dlg]]