pabcnetcclear: pcu errors are not more skipped

pabcnetcclear: display unhandled exceptions or errors without location
This commit is contained in:
Бондарев Иван 2020-10-11 11:43:08 +02:00
parent 69b1308064
commit e9191db820

View file

@ -119,6 +119,7 @@ namespace PascalABCCompiler
PascalABCCompiler.StringResourcesLanguage.LoadDefaultConfig();
Compiler = new PascalABCCompiler.Compiler(null, null);
Compiler.InternalDebug.SkipPCUErrors = false;
StringResourcesLanguage.CurrentLanguageName = StringResourcesLanguage.AccessibleLanguages[0];
//Console.WriteLine("OK {0}ms", (DateTime.Now - ldt).TotalMilliseconds);
ldt = DateTime.Now;
@ -209,6 +210,11 @@ namespace PascalABCCompiler
else
Console.WriteLine(Compiler.ErrorsList[i]);
}
else
{
Console.WriteLine(Compiler.ErrorsList[i].Message);
Console.WriteLine(Compiler.ErrorsList[i].StackTrace);
}
break; // выйти после первой же ошибки
}
if (success)