C# Class MonoDevelop.Debugger.Gdb.D.DGdbBacktrace

High-level component that handles gathering variables and their individual values.
Inheritance: MonoDevelop.Debugger.Gdb.GdbBacktrace, IDBacktraceHelpers, IActiveExamination
Afficher le fichier Open project: llucenic/MonoDevelop.Debugger.Gdb.D Class Usage Examples

Méthodes publiques

Свойство Type Description
BacktraceHelper MonoDevelop.D.Debugging.DLocalExamBacktrace
CurrentFrameIndex int

Méthodes publiques

Méthode Description
Allocate ( int size ) : ulong
DGdbBacktrace ( GdbSession session, long threadId, int count, ResultData firstFrame ) : System
Execute ( ulong offset ) : void
FindSymbol ( string s ) : IDBacktraceSymbol
Free ( ulong offset, int size ) : void
GetCurrentStackFrameInfo ( string &file, ulong &offset, D_Parser &sourceLocation ) : void
GetLocalVariables ( int frameIndex, Mono.Debugging.Client.EvaluationOptions options ) : Mono.Debugging.Client.ObjectValue[]
GetParameters ( int frameIndex, Mono.Debugging.Client.EvaluationOptions options ) : Mono.Debugging.Client.ObjectValue[]
GetRawValue ( Mono.Debugging.Client.ObjectPath path, Mono.Debugging.Client.EvaluationOptions options ) : object

Used when viewing variable contents in the dedicated window in MonoDevelop.

ReadByte ( ulong offset ) : byte
ReadBytes ( ulong offset, ulong size ) : byte[]
ReadInt16 ( ulong offset ) : short
ReadInt32 ( ulong offset ) : int
ReadInt64 ( ulong offset ) : long
Write ( ulong offset, byte data ) : void

Méthodes protégées

Méthode Description
CreateFrame ( ResultData frameData ) : Mono.Debugging.Client.StackFrame
CreateVarObject ( string exp, Mono.Debugging.Client.EvaluationOptions opt ) : Mono.Debugging.Client.ObjectValue

Private Methods

Méthode Description
ConstructBacktraceSymbol ( string name, string value, string rawExpression = null ) : GdbBacktraceSymbol
ParseHexValue ( string v ) : ulong

Method Details

Allocate() public méthode

public Allocate ( int size ) : ulong
size int
Résultat ulong

CreateFrame() protected méthode

protected CreateFrame ( ResultData frameData ) : Mono.Debugging.Client.StackFrame
frameData MonoDevelop.Debugger.Gdb.ResultData
Résultat Mono.Debugging.Client.StackFrame

CreateVarObject() protected méthode

protected CreateVarObject ( string exp, Mono.Debugging.Client.EvaluationOptions opt ) : Mono.Debugging.Client.ObjectValue
exp string
opt Mono.Debugging.Client.EvaluationOptions
Résultat Mono.Debugging.Client.ObjectValue

DGdbBacktrace() public méthode

public DGdbBacktrace ( GdbSession session, long threadId, int count, ResultData firstFrame ) : System
session MonoDevelop.Debugger.Gdb.GdbSession
threadId long
count int
firstFrame MonoDevelop.Debugger.Gdb.ResultData
Résultat System

Execute() public méthode

public Execute ( ulong offset ) : void
offset ulong
Résultat void

FindSymbol() public méthode

public FindSymbol ( string s ) : IDBacktraceSymbol
s string
Résultat IDBacktraceSymbol

Free() public méthode

public Free ( ulong offset, int size ) : void
offset ulong
size int
Résultat void

GetCurrentStackFrameInfo() public méthode

public GetCurrentStackFrameInfo ( string &file, ulong &offset, D_Parser &sourceLocation ) : void
file string
offset ulong
sourceLocation D_Parser
Résultat void

GetLocalVariables() public méthode

public GetLocalVariables ( int frameIndex, Mono.Debugging.Client.EvaluationOptions options ) : Mono.Debugging.Client.ObjectValue[]
frameIndex int
options Mono.Debugging.Client.EvaluationOptions
Résultat Mono.Debugging.Client.ObjectValue[]

GetParameters() public méthode

public GetParameters ( int frameIndex, Mono.Debugging.Client.EvaluationOptions options ) : Mono.Debugging.Client.ObjectValue[]
frameIndex int
options Mono.Debugging.Client.EvaluationOptions
Résultat Mono.Debugging.Client.ObjectValue[]

GetRawValue() public méthode

Used when viewing variable contents in the dedicated window in MonoDevelop.
public GetRawValue ( Mono.Debugging.Client.ObjectPath path, Mono.Debugging.Client.EvaluationOptions options ) : object
path Mono.Debugging.Client.ObjectPath
options Mono.Debugging.Client.EvaluationOptions
Résultat object

ReadByte() public méthode

public ReadByte ( ulong offset ) : byte
offset ulong
Résultat byte

ReadBytes() public méthode

public ReadBytes ( ulong offset, ulong size ) : byte[]
offset ulong
size ulong
Résultat byte[]

ReadInt16() public méthode

public ReadInt16 ( ulong offset ) : short
offset ulong
Résultat short

ReadInt32() public méthode

public ReadInt32 ( ulong offset ) : int
offset ulong
Résultat int

ReadInt64() public méthode

public ReadInt64 ( ulong offset ) : long
offset ulong
Résultat long

Write() public méthode

public Write ( ulong offset, byte data ) : void
offset ulong
data byte
Résultat void

Property Details

BacktraceHelper public_oe property

public DLocalExamBacktrace,MonoDevelop.D.Debugging BacktraceHelper
Résultat MonoDevelop.D.Debugging.DLocalExamBacktrace

CurrentFrameIndex public_oe property

public int CurrentFrameIndex
Résultat int