Ejemplo n.º 1
0
        private void RunAndAttachCallback()
        {
            ProjectInfo pi;

            if (!IsValidForDebug(out pi))
            {
                return;
            }

            _commands.DisableUpload();
            // Start a build / upload the program, start the debugger and reset the target, 4 steps to debug :|
            _output.Activate(VSConstants.OutputWindowPaneGuid.BuildOutputPane_guid);
            _dte.Events.BuildEvents.OnBuildDone += BuildEventsOnOnBuildDone;
            _dte.ExecuteCommand("Build.RebuildSolution");
        }
Ejemplo n.º 2
0
        public void ShowOutput()
        {
            if (Output == null || Output.IsDisposed)
            {
                GetOutput();
                Output.Show(MockKernel.Get().Window.GetDockPanel(), WeifenLuo.WinFormsUI.Docking.DockState.DockBottom);
            }

            Output.Activate();
        }
Ejemplo n.º 3
0
        private void ShowDefinitions(IEnumerable <Definitions> symbols)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            Output.Pane.Clear();
            Output.Pane.OutputString("Possible definitions of \"" + selectedName + "\":\n");

            foreach (var group in symbols)
            {
                foreach (var location in group.Labels)
                {
                    Output.Pane.OutputString(group.File + "(" + (location.Line + 1) + "," + (location.Column + 1) + ")\n");
                }
            }

            Output.Activate();
        }