public static void DebugBreak() { if (isDebug) { DebugUtil.Break(); } }
static protected void DebuggerːBreak(bool condition, string message) { if (!condition) { return; } DebugUtil.Break(message); }
static protected void DebuggerːBreak(bool condition) { if (!condition) { return; } DebugUtil.Break(); }
public static void Assert(bool val, string msg) { if (isDebug && !val) { DebugUtil.Log("assert failed:\n" + msg); DebugUtil.Break(); } }
static protected void DebuggerːBreak(bool condition, ObjectVM sender, string message) { if (!condition) { return; } DebugUtil.Break(message + "\nType: " + DebugUtil.FormatTypeName(sender) + "\nPath: " + DebugUtil.Try(() => sender.MemberPath, "??") ); }
static protected void DebuggerːBreak(string message) { DebugUtil.Break(message); }
static protected void DebuggerːBreak() { DebugUtil.Break(); }