예제 #1
0
        public bool OnBreakPointChanged(int line, bool newVal)
        {
            if (controller == null)
            {
                return(false);
            }

            long pc = controller.GetPCLineForSCLine(line);

            if (pc < 0)
            {
                return(false);
            }
            else
            {
                controller.Incoming_Events.Enqueue(new BreakPointChangedEvent()
                {
                    Position = (uint)pc, Value = newVal
                });

                return(true);
            }
        }