Unit 'DebugInstructions' Package
[Overview][Types][Classes][Procedures and functions][Index] [#bs_debuggercmd]

TDBGInstruction

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: debuginstructions.pas line 46

type TDBGInstruction = class(TRefCountedObject)

protected

  FNextQueuedInstruction: TDBGInstruction;

  

  FPrevQueuedInstruction: TDBGInstruction;

  

  function GetCommandAsString; virtual;

  

  procedure SendCommandDataToDbg; virtual;

  

  procedure SetStateRunning;

  

  function ProcessInputFromDbg(); virtual; abstract;

  

  procedure Init; virtual;

  

  procedure SetQueued();

  

  procedure SetContentReceieved;

  

  procedure InternalCreate();

  

  property Queue: TDBGInstructionQueue; [r]

  

  property NextInstruction: TDBGInstruction; [r]

  

public

  constructor Create();

  

  procedure Cancel;

  

  function IsSuccess;

  

  function IsCompleted;

  

  function IsRunning;

  

  procedure MarkAsSuccess;

  

  procedure MarkAsFailed;

  

  procedure HandleWriteError; virtual;

  

  procedure HandleReadError; virtual;

  

  procedure HandleTimeOut; virtual;

  

  procedure HandleRecoveredTimeOut; virtual;

  

  procedure HandleNoDbgRunning; virtual;

  

  procedure HandleContentError; virtual;

  

  procedure HandleError(); virtual;

  

  function DebugText;

  

  property Command: string; [r]

  

  property ThreadId: Integer; [r]

  

  property StackFrame: Integer; [r]

  

  property Flags: TDBGInstructionFlags; [r]

  

  property State: TDBGInstructionState; [r]

  

  property ErrorFlags: TDBGInstructionErrorFlags; [r]

  

  property TimeOut: Integer; [r]

  

  property OnFinish: TNotifyEvent; [rw]

  

  property OnSuccess: TNotifyEvent; [rw]

  

  property OnFailure: TNotifyEvent; [rw]

  

end;

Inheritance

TDBGInstruction

  

|

TObject



CT Web help

CodeTyphon Studio