mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
19 lines
459 B
C#
19 lines
459 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU.IL.X86.Native {
|
|
public static class DebugHelper {
|
|
private static bool mWritingPossible = false;
|
|
public static void DoWriteIfPossible(string aMessage) {
|
|
if (mWritingPossible) {
|
|
System.Diagnostics.Debug.WriteLine(aMessage);
|
|
}
|
|
}
|
|
|
|
public static void MakeWritingPossible() {
|
|
//mWritingPossible = true;
|
|
}
|
|
}
|
|
}
|