Ejemplo n.º 1
0
        void Debugger_OnInstructionChanged(object sender, Instruction instruction)
        {
            GridOpCode.CurrentCell = GridOpCode.Rows[instruction == null ? 0 : (int)instruction.Location.Index].Cells[3];
            Jumps.RefreshDynJumps(Debugger);

            GridOpCode.Refresh();
            GridAltStack.Refresh();
            GridStack.Refresh();
            Registers.Refresh();
        }
Ejemplo n.º 2
0
        void UpdateDebugState()
        {
            int instruction = Debugger == null ? 0 : (int)Debugger.CurrentInstructionIndex;

            GridOpCode.Invalidate();
            Registers.Refresh();

            //GridOpCode.ClearSelection();
            //GridOpCode.Rows[(int)instructionIndex].Selected = true;
            GridOpCode.CurrentCell = GridOpCode.Rows[instruction].Cells[3];

            Jumps.RefreshDynJumps(Debugger);
            //Application.DoEvents();
        }