Debug
static class Debugimport Debug from Wax;Host-routed diagnostic logging, assertions, debugger breaks, and stack traces. Assertions panic when false; logging does not throw an Error.
Inherits from object. Follow these links for inherited members.
Members
Logmethod
public static fn Log(string message) : voidSends an informational message through the host logging callback.
Warnmethod
public static fn Warn(string message) : voidSends a warning message through the host logging callback.
Errormethod
public static fn Error(string message) : voidSends an error-level message through the host logging callback; this does not itself panic.
Assertmethod
public static fn Assert(bool condition) : voidPanics with Assertion failed when condition is false.
AssertMessagemethod
public static fn AssertMessage(bool condition, string message) : voidPanics with the supplied message when condition is false.
Breakmethod
public static fn Break() : voidInvokes the attached debug-break callback, or does nothing when none is attached.
StackTracemethod
public static fn StackTrace() : stringReturns a formatted trace from the runtime trace state.