Example #1
0
        public ConnectionDialog(EmuDebugger debugger)
            : this()
        {
            this.Icon     = Properties.Resources.MainIcon;
            this.Debugger = debugger;

            this.cancelButton.Enabled = false;
        }
Example #2
0
        public ConnectionDialog( EmuDebugger debugger )
            : this()
        {
            this.Icon = Properties.Resources.MainIcon;
            this.Debugger = debugger;

            this.cancelButton.Enabled = false;
        }
        public BreakpointManager( EmuDebugger debugger )
        {
            this.Debugger = debugger;

            _breakpoints = new List<Breakpoint>( 100 );
            _breakpointLookup = new Dictionary<int, Breakpoint>( 100 );
            _addressBreakpointLookup = new Dictionary<uint, Breakpoint>( 100 );
            _biosBreakpointLookup = new Dictionary<BiosFunctionToken, Breakpoint>( 100 );
        }
Example #4
0
        public BreakpointManager(EmuDebugger debugger)
        {
            this.Debugger = debugger;

            _breakpoints             = new List <Breakpoint>(100);
            _breakpointLookup        = new Dictionary <int, Breakpoint>(100);
            _addressBreakpointLookup = new Dictionary <uint, Breakpoint>(100);
            _biosBreakpointLookup    = new Dictionary <BiosFunctionToken, Breakpoint>(100);
        }
Example #5
0
		static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault( false );

			EmuDebugger debugger = new EmuDebugger();

			debugger.View.Show();

			Application.Run( debugger.View );
		}
Example #6
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            EmuDebugger debugger = new EmuDebugger();

            debugger.View.Show();

            Application.Run(debugger.View);
        }
Example #7
0
        public CodeView( EmuDebugger debugger )
            : this()
        {
            this.Debugger = debugger;

            this.LoadSettings();

            this.disassemblyControl1.Debugger = debugger;
            this.disassemblyControl1.RegisterValueChanged += new EventHandler( disassemblyControl1_RegisterValueChanged );

            this.Disable();
        }
Example #8
0
        public CodeView(EmuDebugger debugger)
            : this()
        {
            this.Debugger = debugger;

            this.LoadSettings();

            this.disassemblyControl1.Debugger              = debugger;
            this.disassemblyControl1.RegisterValueChanged += new EventHandler(disassemblyControl1_RegisterValueChanged);

            this.Disable();
        }
Example #9
0
        public DebugView(EmuDebugger debugger)
            : this()
        {
            this.Icon     = Properties.Resources.MainIcon;
            this.Debugger = debugger;

            // Toolstrips are broken - need to remove/readd to get on the same line
            this.toolStripContainer1.TopToolStripPanel.Controls.Clear();
            this.controlToolStrip.Location  = Point.Empty;
            this.windowsToolStrip.Location  = Point.Empty;
            this.locationToolStrip.Location = Point.Empty;
            // Add in reverse order
            this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.locationToolStrip);
            this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.windowsToolStrip);
            this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.controlToolStrip);

            this.Debugger.StateChanged += new EventHandler(Debugger_StateChanged);
        }
Example #10
0
        public DebugView( EmuDebugger debugger )
            : this()
        {
            this.Icon = Properties.Resources.MainIcon;
            this.Debugger = debugger;

            // Toolstrips are broken - need to remove/readd to get on the same line
            this.toolStripContainer1.TopToolStripPanel.Controls.Clear();
            this.controlToolStrip.Location = Point.Empty;
            this.windowsToolStrip.Location = Point.Empty;
            this.locationToolStrip.Location = Point.Empty;
            // Add in reverse order
            this.toolStripContainer1.TopToolStripPanel.Controls.Add( this.locationToolStrip );
            this.toolStripContainer1.TopToolStripPanel.Controls.Add( this.windowsToolStrip );
            this.toolStripContainer1.TopToolStripPanel.Controls.Add( this.controlToolStrip );

            this.Debugger.StateChanged += new EventHandler( Debugger_StateChanged );
        }