Mono.Debugger.Backend.SingleSteppingEngine.OperationManagedCallback.DoProcessEvent C# (CSharp) Method

DoProcessEvent() protected method

protected DoProcessEvent ( Inferior cevent, TargetEventArgs &args ) : EventResult
cevent Inferior
args TargetEventArgs
return EventResult
            protected override EventResult DoProcessEvent(Inferior.ChildEvent cevent,
							       out TargetEventArgs args)
            {
                Report.Debug (DebugFlags.SSE, "{0} managed callback process event: {1} {2} {3}",
                      sse, cevent, thread_lock, current_callback);

                current_callback.Result.Completed ();

                args = null;
                if (do_execute ())
                return EventResult.Running;

                if ((thread_lock != null) && (thread_lock.StopEvent != null)) {
                sse.ThreadManager.AddPendingEvent (sse, thread_lock.StopEvent);
                return EventResult.ParentResumed;
                }

                args = null;
                return EventResult.ResumeOperation;
            }