private async Task<StepResponse> Step(StepAction stepAction, uint threadId) { await BeginRunStateTransition(); var fbb = BeginRequest(); int requestDataOffset = StepRequest.CreateStepRequest(fbb, stepAction, threadId); var response = await CommitRequest(fbb, RequestData.StepRequest, requestDataOffset); System.Diagnostics.Debug.Assert(response.ResponseDataType == ResponseData.StepResponse); var stepResponse = new StepResponse(); response.GetResponseData(stepResponse); await CompleteRunStateTransition(RunState.Paused); return stepResponse; }
public static StepResponse GetRootAsStepResponse(ByteBuffer _bb, StepResponse obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public static StepResponse GetRootAsStepResponse(ByteBuffer _bb, StepResponse obj) { return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }