pabcnetcclear: pcu errors are not more skipped
pabcnetcclear: display unhandled exceptions or errors without location
This commit is contained in:
parent
69b1308064
commit
e9191db820
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue