Debug Class

Provides debugging and tracing functionality for client code. This is a static class that is invoked directly without creating an instance of the class.

Namespace: Sys

Base Types

System.Object

Methods

Name Description
assert(bool) Checks for a condition, and if false, displays a message and prompts the user to break into the debugger.
assert(bool, string) Checks for a condition, and if false, displays a message and prompts the user to break into the debugger.
assert(bool, string, bool) Checks for a condition, and if false, displays a message and prompts the user to break into the debugger.
clearTrace() Clears all trace messages from the debugger output console.
fail(string) Displays a message in the debugger's output window and breaks into the debugger.
Trace(string) Appends a text line to the debugger console and to the TraceConsole<textarea> element, if available.
traceDump(object) Dumps an object to the debugger console and to the TraceConsole<textarea> element, if available.
traceDump(object, string) Dumps an object to the debugger console and to the TraceConsole<textarea> element, if available.
© Copyright 2005-2011 SharpKit. All rights reserved.