internal void InitCommand(int totalCommand, CommandExecute onCommandRegistComplete, StepComplete onStepComplete, UserError onUserError, RegistCommandList onAllCommandRegisted) { this.totalCommand = totalCommand; this.onStepComplete = onStepComplete; this.onUserError = onUserError; this.commandExecute = onCommandRegistComplete; this.onAllCommandRegisted = onAllCommandRegisted; TryComplelteRegist(); }
void RaiseStepComplete_DbgThread(DbgThread thread, string error) { Dispatcher.VerifyAccess(); StepComplete?.Invoke(this, new DbgStepCompleteEventArgs(thread, error)); if (closeWhenStepComplete) { Close(Dispatcher); } }
protected override unsafe int OnStepComplete( CorDebugAppDomain pAppDomain, CorDebugThread pThread, CorDebugStepper pStepper, CorDebugStepReason reason) { StepComplete?.Invoke(this, pAppDomain, pThread, pStepper, reason); return(Continue()); }
void RaiseStepComplete(DbgThread thread, object tag, string error) { if (IsClosed) { return; } Debug.Assert(StepComplete != null); StepComplete?.Invoke(this, new DbgEngineStepCompleteEventArgs(thread, tag, error)); }
public void RegistComplete(StepComplete stepComplete) { this.stepComplete = stepComplete; }