Ejemplo n.º 1
0
        private void SetActualBP()
        {
            switch (bpType)
            {
            case BreakpointType.Read:
                gecko.BreakpointR(bpAddress, bpExact);
                break;

            case BreakpointType.Write:
                gecko.BreakpointW(bpAddress, bpExact);
                break;

            case BreakpointType.ReadWrite:
                gecko.BreakpointRW(bpAddress, bpExact);
                break;

            case BreakpointType.Execute:
                gecko.BreakpointX(bpAddress);
                break;

            default:
                gecko.Step();
                break;
            }
            BPSet = true;
            gecko.Resume();
            listSet = false;
        }