Lettuce.Debugger.InvalidInstruction C# (CSharp) Method

InvalidInstruction() public method

public InvalidInstruction ( Tomato.InvalidInstructionEventArgs eventArgs ) : void
eventArgs Tomato.InvalidInstructionEventArgs
return void
        void InvalidInstruction(InvalidInstructionEventArgs eventArgs)
        {
            if (InvokeRequired)
                Invoke(new Action(() => InvalidInstruction(eventArgs)));
            else
            {
                pictureBox1.Visible = true;
                warningLabel.Text = "Invalid instruction at 0x" + eventArgs.Address.ToString("X4") +
                    ": 0x" + eventArgs.Instruction.ToString("X4");
                warningLabel.Visible = true;
                if (breakOnInvalidInstructionToolStripMenuItem.Checked)
                    ResetLayout();
            }
        }
Debugger