示例#1
0
 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;
 }
示例#2
0
 public static StepResponse GetRootAsStepResponse(ByteBuffer _bb, StepResponse obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
示例#3
0
 public static StepResponse GetRootAsStepResponse(ByteBuffer _bb, StepResponse obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }