Browse Source

fixes: Add PID and change importance to High.

pull/6972/head
Giuseppe Lippolis 5 years ago
parent
commit
cf8a3b6327
  1. 2
      src/Avalonia.Build.Tasks/XamlCompilerTaskExecutor.cs

2
src/Avalonia.Build.Tasks/XamlCompilerTaskExecutor.cs

@ -96,7 +96,7 @@ namespace Avalonia.Build.Tasks
// wait for the debugger to be attacked or timeout. // wait for the debugger to be attacked or timeout.
while (!System.Diagnostics.Debugger.IsAttached && time.Elapsed < timeout) while (!System.Diagnostics.Debugger.IsAttached && time.Elapsed < timeout)
{ {
engine.LogMessage($"Wating attach debugger. Elapsed {time.Elapsed}...", MessageImportance.Low); engine.LogMessage($"[PID:{System.Diagnostics.Process.GetCurrentProcess().Id}] Wating attach debugger. Elapsed {time.Elapsed}...", MessageImportance.High);
System.Threading.Thread.Sleep(100); System.Threading.Thread.Sleep(100);
} }

Loading…
Cancel
Save