Mono.Debugger.Backend.Inferior.ExecuteInstruction C# (CSharp) Method

ExecuteInstruction() public method

public ExecuteInstruction ( byte instruction, bool update_ip ) : void
instruction byte
update_ip bool
return void
        public void ExecuteInstruction(byte[] instruction, bool update_ip)
        {
            check_disposed ();

            IntPtr data = IntPtr.Zero;
            try {
                data = Marshal.AllocHGlobal (instruction.Length);
                Marshal.Copy (instruction, 0, data, instruction.Length);

                check_error (mono_debugger_server_execute_instruction (
                    server_handle, data, instruction.Length, update_ip));
            } finally {
                Marshal.FreeHGlobal (data);
            }
        }
Inferior