diff --git a/src/Jitter2/Parallelization/ThreadPool.cs b/src/Jitter2/Parallelization/ThreadPool.cs index 5e61c4e6..bc985595 100644 --- a/src/Jitter2/Parallelization/ThreadPool.cs +++ b/src/Jitter2/Parallelization/ThreadPool.cs @@ -107,7 +107,7 @@ private ThreadPool() // To avoid this issue, multi-threading is disabled when a debugger is attached on non-Windows systems. if (!OperatingSystem.IsWindows() && Debugger.IsAttached) { - System.Diagnostics.Debug.WriteLine( + System.Diagnostics.Trace.WriteLine( "Multi-threading disabled to prevent potential hangups: Debugger attached, " + ".NET version < 9.0, non-Windows system detected."); initialThreadCount = 1; // Forces single-threading to avoid hangups