public DebugScreen()
        {
            inst_ = this;
            InitializeComponent();
            logGrid.DataContext = Debugger.Debug.SessionData.inst();
            watchGrid.DataContext = Debugger.Debug.SessionData.inst();
            fileList.DataContext = Debugger.Debug.SessionData.inst();
            breakGrid.DataContext = Debugger.Debug.SessionData.inst();
            stackGrid.DataContext = Debugger.Debug.SessionData.inst();
            btnStack.DataContext = Debugger.Debug.SessionData.inst();
            stackReconnect.DataContext = Debugger.Debug.SessionData.inst();
            txtConnection.DataContext = Debugger.Debug.SessionData.inst();

            thisTree.View.DataContext = Debugger.Debug.SessionData.inst().ThisData;
            thisTree.PrefixWatches = "this.";
            globalsTree.DataContext = Debugger.Debug.SessionData.inst().GlobalData;
            globalsTree.PrefixWatches = "global.";
            localsTree.View.DataContext = Debugger.Debug.SessionData.inst().LocalData;

            //InputBindings.Add(new KeyBinding(ContCmd, new KeyGesture(Key.F5)));
            //InputBindings.Add(new KeyBinding(StepIn, new KeyGesture(Key.F5)));
            //InputBindings.Add(new KeyBinding(StepOut, new KeyGesture(Key.F5)));
            //InputBindings.Add(new KeyBinding(StepOver, new KeyGesture(Key.F5)));
        }
Exemplo n.º 2
0
        public DebugScreen()
        {
            inst_ = this;
            InitializeComponent();
            logGrid.DataContext        = Debugger.Debug.SessionData.inst();
            watchGrid.DataContext      = Debugger.Debug.SessionData.inst();
            fileList.DataContext       = Debugger.Debug.SessionData.inst();
            breakGrid.DataContext      = Debugger.Debug.SessionData.inst();
            stackGrid.DataContext      = Debugger.Debug.SessionData.inst();
            btnStack.DataContext       = Debugger.Debug.SessionData.inst();
            stackReconnect.DataContext = Debugger.Debug.SessionData.inst();
            txtConnection.DataContext  = Debugger.Debug.SessionData.inst();

            thisTree.View.DataContext   = Debugger.Debug.SessionData.inst().ThisData;
            thisTree.PrefixWatches      = "this.";
            globalsTree.DataContext     = Debugger.Debug.SessionData.inst().GlobalData;
            globalsTree.PrefixWatches   = "global.";
            localsTree.View.DataContext = Debugger.Debug.SessionData.inst().LocalData;

            //InputBindings.Add(new KeyBinding(ContCmd, new KeyGesture(Key.F5)));
            //InputBindings.Add(new KeyBinding(StepIn, new KeyGesture(Key.F5)));
            //InputBindings.Add(new KeyBinding(StepOut, new KeyGesture(Key.F5)));
            //InputBindings.Add(new KeyBinding(StepOver, new KeyGesture(Key.F5)));
        }