public MainForm() { InitializeComponent(); _client = new xdc.XDebug.Client("localhost", 9000); _client.EventCallback += new XDebugEventHandler(XDebugEventCallback); // Get the forms up. _statusFrm = new xdc.Forms.StatusForm(); _callstackFrm = new xdc.Forms.CallstackForm(); _localContextFrm = new xdc.Forms.ContextForm(_client, "Locals"); // todo, name etc _globalContextFrm = new xdc.Forms.ContextForm(_client, "Globals"); // todo, name etc // Helper objects _breakpointMgr = new BreakpointManager(); _fileMgr = new FileManager(); // Handlers _callstackFrm.StackSelected += new EventHandler <xdc.Forms.StackEventArgs>(_callstackFrm_StackSelected); _CurrentLocation = new Location(); _CurrentLocation.line = -1; this.KeyPreview = true; this.ToggleMenuItems(false); }
public MainForm() { InitializeComponent(); _client = new xdc.XDebug.Client("localhost", 9000); _client.EventCallback += new XDebugEventHandler(XDebugEventCallback); // Get the forms up. _statusFrm = new xdc.Forms.StatusForm(); _callstackFrm = new xdc.Forms.CallstackForm(); _localContextFrm = new xdc.Forms.ContextForm(_client, "Locals"); // todo, name etc _globalContextFrm = new xdc.Forms.ContextForm(_client, "Globals"); // todo, name etc // Helper objects _breakpointMgr = new BreakpointManager(); _fileMgr = new FileManager(); // Handlers _callstackFrm.StackSelected += new EventHandler<xdc.Forms.StackEventArgs>(_callstackFrm_StackSelected); _CurrentLocation = new Location(); _CurrentLocation.line = -1; this.KeyPreview = true; this.ToggleMenuItems(false); }