C# Class VSNDK.DebugEngine.VariableInfo

Afficher le fichier Open project: blackberry/VSPlugin Class Usage Examples

Méthodes publiques

Свойство Type Description
_GDBName string
_children System.Collections.ArrayList
_name string
_type string
_value string

Méthodes publiques

Méthode Description
VariableInfo ( string name, string type, string value, string GDBName ) : System

Constructor for Variable Info Object without inquiring for the variable's children.

VariableInfo ( string name, string type, string baseType, string value, EventDispatcher dispatcher, ArrayList GDBNames, ArrayList VSNames ) : System

Constructor for Variable Info Object inquiring for the variable's children

create ( string name, string type, string value, EventDispatcher dispatcher ) : VariableInfo

Call the right VariableInfo constructor for locals and arguments.

evaluateExpression ( string name, string &result, string GDBName ) : bool

Evaluate an expression / Get the value of a variable. This method basically send a "-data-evaluate-expression" command to GDB and evaluate the result.

get ( string name, EventDispatcher m_eventDispatcher, AD7StackFrame m_frame ) : VariableInfo

Gets the information about a variable/expression.

listChildren ( EventDispatcher dispatcher, string parentType, ArrayList GDBNames, ArrayList VSNames, bool hasVsNdK_, string GDBName ) : void

Gets the list of children for a given variable.

Method Details

VariableInfo() public méthode

Constructor for Variable Info Object without inquiring for the variable's children.
public VariableInfo ( string name, string type, string value, string GDBName ) : System
name string The name of the variable.
type string The data type of the variable.
value string The value of the variable.
GDBName string The GDB Name of the variable.
Résultat System

VariableInfo() public méthode

Constructor for Variable Info Object inquiring for the variable's children
public VariableInfo ( string name, string type, string baseType, string value, EventDispatcher dispatcher, ArrayList GDBNames, ArrayList VSNames ) : System
name string The name of the variable.
type string The data type of the variable.
baseType string The base type of the variable.
value string The value of the variable.
dispatcher EventDispatcher The event dispatcher.
GDBNames System.Collections.ArrayList The names of the variables used by GDB.
VSNames System.Collections.ArrayList The Names of the variables used by VS.
Résultat System

create() public static méthode

Call the right VariableInfo constructor for locals and arguments.
public static create ( string name, string type, string value, EventDispatcher dispatcher ) : VariableInfo
name string The name of the variable.
type string The data type of the variable.
value string The value of the variable.
dispatcher EventDispatcher The event dispatcher.
Résultat VariableInfo

evaluateExpression() public static méthode

Evaluate an expression / Get the value of a variable. This method basically send a "-data-evaluate-expression" command to GDB and evaluate the result.
public static evaluateExpression ( string name, string &result, string GDBName ) : bool
name string The expression/variable to be evaluated.
result string The result of the expression/ value of variable.
GDBName string The GDB Name of the variable.
Résultat bool

get() public static méthode

Gets the information about a variable/expression.
public static get ( string name, EventDispatcher m_eventDispatcher, AD7StackFrame m_frame ) : VariableInfo
name string Variable name / expression.
m_eventDispatcher EventDispatcher The event dispatcher.
m_frame AD7StackFrame Current stack frame.
Résultat VariableInfo

listChildren() public méthode

Gets the list of children for a given variable.
public listChildren ( EventDispatcher dispatcher, string parentType, ArrayList GDBNames, ArrayList VSNames, bool hasVsNdK_, string GDBName ) : void
dispatcher EventDispatcher The event dispatcher.
parentType string The variable's parent data type. "*" means it is a pointer; "struct[]" means it is an array of /// structures; "struct" means it is a structure; and "[]" means it is an array.
GDBNames System.Collections.ArrayList The names of the variables used by GDB.
VSNames System.Collections.ArrayList The Names of the variables used by VS.
hasVsNdK_ bool Indicate if the variable name uses or not the prefix "VsNdK_".
GDBName string The GDB Name of the variable.
Résultat void

Property Details

_GDBName public_oe property

Variable's name to be used by GDB.
public string _GDBName
Résultat string

_children public_oe property

List of variable's children.
public ArrayList,System.Collections _children
Résultat System.Collections.ArrayList

_name public_oe property

Variable's name or expression.
public string _name
Résultat string

_type public_oe property

Variable's data type.
public string _type
Résultat string

_value public_oe property

Variable's value or the result of an expression.
public string _value
Résultat string