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

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

            this.cancelButton.Enabled = false;
        }
예제 #3
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 );
        }
예제 #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);
        }
예제 #5
0
		static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault( false );

			EmuDebugger debugger = new EmuDebugger();

			debugger.View.Show();

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

            EmuDebugger debugger = new EmuDebugger();

            debugger.View.Show();

            Application.Run(debugger.View);
        }
예제 #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();
        }
예제 #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();
        }
예제 #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);
        }
예제 #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 );
        }