Mono.Debugger.Backend.SingleSteppingEngine.OperationActivateBreakpoints.do_execute C# (CSharp) Method

do_execute() private method

private do_execute ( ) : bool
return bool
            bool do_execute()
            {
                Report.Debug (DebugFlags.SSE,
                      "{0} activate breakpoints execute: {1} {2}", sse,
                      inferior.CurrentFrame, pending_events.Count);

                if (pending_events.Count == 0) {
                completed = true;
                return false;
                }

                var entry = pending_events.Dequeue ();

                BreakpointHandle.Action action = entry.Value;
                FunctionBreakpointHandle handle = entry.Key;

                Report.Debug (DebugFlags.SSE,
                      "{0} activate breakpoints: {1} {2}", sse, action, handle);

                if (action == BreakpointHandle.Action.Insert)
                sse.PushOperation (new OperationInsertBreakpoint (sse, handle));
                else
                sse.PushOperation (new OperationRemoveBreakpoint (sse, handle));
                return true;
            }
SingleSteppingEngine.OperationActivateBreakpoints