Ejemplo n.º 1
0
        private void BuildAction_BuildFinished(object sender, AssemblyFinishEventArgs e)
        {
            if (!e.Output.Succeeded)
            {
                if (DockingService.ShowMessageBox(null, "There were errors assembling. Would you like to continue and try to debug?",
                                                  "Continue", MessageBoxButtons.YesNo, MessageBoxIcon.Error) == DialogResult.No)
                {
                    return;
                }
            }

            try
            {
                _debuggerService.StartDebugging();
            }
            catch (MissingRomException)
            {
                bool hasRom = PromptForRomFile();
                if (hasRom)
                {
                    Execute();
                }
            }
            catch (DebuggingException ex)
            {
                DockingService.ShowError("Unable to start debugging", ex);
            }
        }
 private void AssemblerFinished(object sender, AssemblyFinishEventArgs e)
 {
     if (BackgroundAssemblerComplete != null)
     {
         BackgroundAssemblerComplete(sender, e);
     }
 }
Ejemplo n.º 3
0
 private void BackgroundAssemblerService_BackgroundAssemblerComplete(object sender, AssemblyFinishEventArgs e)
 {
     UnderlineErrors(e.Output.ParsedErrors);
 }