示例#1
0
        public void OnProgramStop(uint address)
        {
            IDebugBoundBreakpoint2 breakpoint = _breakpointManager.MaybeGetBreakpoint(address);

            if (breakpoint != null)
            {
                _callbacks.OnBreakpointHit(breakpoint);
            }
            else
            {
                Debug.WriteLine("OnProgramStop: non-synthetic HLT instruction reached, terminating.");
                _callbacks.OnProgramTerminated();
            }
        }