Beispiel #1
0
        protected override void PrepareBreakPoints()
        {
            if (BreakPoints.OfType <WndProcBreakPoint>().Any())
            {
                foreach (var wpbp in BreakPoints.OfType <WndProcBreakPoint>())
                {
                    wpbp.Prepare(_wndProcSymbolScope);
                }

                _machine.NotifyCallWndProc16 = () =>
                {
                    foreach (var wpbp in BreakPoints.OfType <WndProcBreakPoint>())
                    {
                        wpbp.Break();
                    }
                };
            }
            else
            {
                if (_machine != null)
                {
                    _machine.NotifyCallWndProc16 = null;
                }
            }

            base.PrepareBreakPoints();
        }