mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
17 lines
No EOL
546 B
C#
17 lines
No EOL
546 B
C#
|
|
namespace Cosmos.Debug {
|
|
public static class Debugger {
|
|
public static void Break() { } // Plugged
|
|
public static unsafe void Send(int aLength, char* aText) { } // Plugged
|
|
public static void TraceOff() { } // Plugged
|
|
public static void TraceOn() { } // Plugged
|
|
|
|
public static unsafe void Send(string aText) {
|
|
var xChars = aText.ToCharArray();
|
|
fixed(char* xPtr = &xChars[0]) {
|
|
Send(aText.Length, xPtr);
|
|
}
|
|
}
|
|
|
|
}
|
|
} |