C# 클래스 Mono.Debugger.Languages.TargetVariable

This interface provides information about a variable in the target application.
상속: DebuggerMarshalByRefObject
파일 보기 프로젝트 열기: baulig/debugger 1 사용 예제들

공개 메소드들

메소드 설명
GetObject ( StackFrame frame ) : TargetObject

Retrieve an instance of this variable from the stack-frame @frame. May only be called if Type.HasObject is true.

An instance of IVariable contains information about a variable (for instance a parameter of local variable of a method), but it's not bound to any particular target location. This also means that it won't get invalid after the target exited.

IsAlive ( TargetAddress address ) : bool

Checks whether the variable is alive at @address, but without actually trying to access the variable. The implementation just checks the data from the symbol file and - if appropriate - from the JIT to find out whether the specified address is within the variable's live range.

IsInScope ( TargetAddress address ) : bool

Checks whether the variable is accessible in the lexical scope around address @address, but without actually trying to access the variable.

PrintLocation ( StackFrame frame ) : string
SetObject ( StackFrame frame, TargetObject obj ) : void

비공개 메소드들

메소드 설명
GetObject ( StackFrame frame, TargetMemoryAccess target ) : TargetObject

메소드 상세

GetObject() 공개 메소드

Retrieve an instance of this variable from the stack-frame @frame. May only be called if Type.HasObject is true.
An instance of IVariable contains information about a variable (for instance a parameter of local variable of a method), but it's not bound to any particular target location. This also means that it won't get invalid after the target exited.
public GetObject ( StackFrame frame ) : TargetObject
frame StackFrame
리턴 TargetObject

IsAlive() 공개 추상적인 메소드

Checks whether the variable is alive at @address, but without actually trying to access the variable. The implementation just checks the data from the symbol file and - if appropriate - from the JIT to find out whether the specified address is within the variable's live range.
public abstract IsAlive ( TargetAddress address ) : bool
address TargetAddress
리턴 bool

IsInScope() 공개 추상적인 메소드

Checks whether the variable is accessible in the lexical scope around address @address, but without actually trying to access the variable.
public abstract IsInScope ( TargetAddress address ) : bool
address TargetAddress
리턴 bool

PrintLocation() 공개 추상적인 메소드

public abstract PrintLocation ( StackFrame frame ) : string
frame StackFrame
리턴 string

SetObject() 공개 추상적인 메소드

public abstract SetObject ( StackFrame frame, TargetObject obj ) : void
frame StackFrame
obj TargetObject
리턴 void