Debug
Summary
Provides methods that may assist during development and troubleshooting.
Methods
Name Description
void Assert(bool,string) Checks the specified condition and if the specified condition is false, raises an error that will abort the execution of the current rule.
void Break() Signals a breakpoint to the attached debugger. If no debugger is attached this method has no effect.
void Dump(object) Prints the content of the specified object in the console, including all its properties, be it scalars, collections and other data structures.
void Dump(object,string) Prints the explixitly given name and the content of the specified object in the console, including all its properties, be it scalars, collections and other data structures.
void Message(string) Prints the specified message in the console.
void Pause() Pauses the processing of rules.
Remarks
These methods work only if the tool is run in debug mode. See option --debug form more details.

Return to: Index