Exemplo n.º 1
0
        /// <summary>
        /// The request continue is a request from the debugger to start the VM running again. As part of the continue request the debugger can specify if it wants the VM to perform a single step action.
        /// </summary>
        /// <param name="stepAction"></param>
        /// <param name="stepCount"></param>
        /// <returns></returns>
        public async Task <Response> Continue(StepAction stepAction = StepAction.Next, int?stepCount = null)
        {
            var continueRequest = new Request("continue");

            continueRequest.Arguments.stepaction = stepAction.ToString().ToLowerInvariant();

            if (stepCount.HasValue && stepCount.Value > 1)
            {
                continueRequest.Arguments.stepCount = stepCount.Value;
            }

            var continueResponse = await m_debuggerClient.SendRequestAsync(continueRequest);

            return(continueResponse);
        }
        /// <summary>
        /// The request continue is a request from the debugger to start the VM running again. As part of the continue request the debugger can specify if it wants the VM to perform a single step action.
        /// </summary>
        /// <param name="stepAction"></param>
        /// <param name="stepCount"></param>
        /// <returns></returns>
        public async Task<Response> Continue(StepAction stepAction = StepAction.Next, int? stepCount = null)
        {
            var continueRequest = new Request("continue");

            continueRequest.Arguments.stepaction = stepAction.ToString().ToLowerInvariant();

            if (stepCount.HasValue && stepCount.Value > 1)
                continueRequest.Arguments.stepCount = stepCount.Value;

            var continueResponse = await SendRequestAsync(continueRequest);

            return continueResponse;
        }
Exemplo n.º 3
0
 public void TutorialStepUpdate(NormalStep step, StepAction action)
 {
     Debug.Log("Update coming in " + step._ItemName + " : " + action.ToString());
 }