Mono.Debugger.Backend.SingleSteppingEngine.OperationRuntimeInvoke.OperationRuntimeInvokeHelper.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)
                {
                    if ((cevent.Type == Inferior.ChildEventType.CHILD_HIT_BREAKPOINT) ||
                    ((cevent.Type == Inferior.ChildEventType.CHILD_STOPPED) &&
                     (cevent.Argument == 0))) {
                    if (inferior.CurrentFrame == invoke) {
                        Report.Debug (DebugFlags.SSE,
                                  "{0} stopped at invoke method {1} / {2}",
                                  sse, invoke, stage);

                        inferior.MarkRuntimeInvokeFrame ();
                        RTI.SetupCallback (ID);

                        args = null;
                        return EventResult.AskParent;
                    }

                    Report.Debug (DebugFlags.SSE,
                              "{0} stopped at {1} during runtime-invoke: {2}",
                              sse, inferior.CurrentFrame, cevent);
                    }

                    return base.DoProcessEvent (cevent, out args);
                }