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
Show file Open project: llucenic/MonoDevelop.Debugger.Gdb.D Class Usage Examples

Public Properties

Property Type Description
BacktraceHelper MonoDevelop.D.Debugging.DLocalExamBacktrace
CurrentFrameIndex int

Public Methods

Method 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

Protected Methods

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

Private Methods

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

Method Details

Allocate() public method

public Allocate ( int size ) : ulong
size int
return ulong

CreateFrame() protected method

protected CreateFrame ( ResultData frameData ) : Mono.Debugging.Client.StackFrame
frameData MonoDevelop.Debugger.Gdb.ResultData
return Mono.Debugging.Client.StackFrame

CreateVarObject() protected method

protected CreateVarObject ( string exp, Mono.Debugging.Client.EvaluationOptions opt ) : Mono.Debugging.Client.ObjectValue
exp string
opt Mono.Debugging.Client.EvaluationOptions
return Mono.Debugging.Client.ObjectValue

DGdbBacktrace() public method

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
return System

Execute() public method

public Execute ( ulong offset ) : void
offset ulong
return void

FindSymbol() public method

public FindSymbol ( string s ) : IDBacktraceSymbol
s string
return IDBacktraceSymbol

Free() public method

public Free ( ulong offset, int size ) : void
offset ulong
size int
return void

GetCurrentStackFrameInfo() public method

public GetCurrentStackFrameInfo ( string &file, ulong &offset, D_Parser &sourceLocation ) : void
file string
offset ulong
sourceLocation D_Parser
return void

GetLocalVariables() public method

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

GetParameters() public method

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

GetRawValue() public method

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
return object

ReadByte() public method

public ReadByte ( ulong offset ) : byte
offset ulong
return byte

ReadBytes() public method

public ReadBytes ( ulong offset, ulong size ) : byte[]
offset ulong
size ulong
return byte[]

ReadInt16() public method

public ReadInt16 ( ulong offset ) : short
offset ulong
return short

ReadInt32() public method

public ReadInt32 ( ulong offset ) : int
offset ulong
return int

ReadInt64() public method

public ReadInt64 ( ulong offset ) : long
offset ulong
return long

Write() public method

public Write ( ulong offset, byte data ) : void
offset ulong
data byte
return void

Property Details

BacktraceHelper public property

public DLocalExamBacktrace,MonoDevelop.D.Debugging BacktraceHelper
return MonoDevelop.D.Debugging.DLocalExamBacktrace

CurrentFrameIndex public property

public int CurrentFrameIndex
return int