diff --git a/Telerik.JustMock/DebugView.cs b/Telerik.JustMock/DebugView.cs index f7268af..6a0d0b6 100644 --- a/Telerik.JustMock/DebugView.cs +++ b/Telerik.JustMock/DebugView.cs @@ -183,7 +183,12 @@ namespace Telerik.JustMock } #endif - internal static Action DebugTrace = s => System.Diagnostics.Trace.WriteLine(s); + internal static Action DebugTrace = s => +#if PORTABLE + System.Diagnostics.Debug.WriteLine(s); +#else + System.Diagnostics.Trace.WriteLine(s); +#endif } }