C# Класс VSNDK.DebugEngine.VariableInfo

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
_GDBName string
_children System.Collections.ArrayList
_name string
_type string
_value string

Открытые методы

Метод Описание
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.

Описание методов

VariableInfo() публичный Метод

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.
Результат System

VariableInfo() публичный Метод

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.
Результат System

create() публичный статический Метод

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.
Результат VariableInfo

evaluateExpression() публичный статический Метод

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.
Результат bool

get() публичный статический Метод

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.
Результат VariableInfo

listChildren() публичный Метод

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.
Результат void

Описание свойств

_GDBName публичное свойство

Variable's name to be used by GDB.
public string _GDBName
Результат string

_children публичное свойство

List of variable's children.
public ArrayList,System.Collections _children
Результат System.Collections.ArrayList

_name публичное свойство

Variable's name or expression.
public string _name
Результат string

_type публичное свойство

Variable's data type.
public string _type
Результат string

_value публичное свойство

Variable's value or the result of an expression.
public string _value
Результат string