Click or drag to resize

Debugger Class

Debugging methods for logging and profiling.
Inheritance Hierarchy
SystemObject
  KitDebugger

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static class Debugger
Request Example View Source

The Debugger type exposes the following members.

Methods
  NameDescription
Public methodStatic memberEndProfile
Stop profiling the last section of code.
Public methodStatic memberGetProfile
Get the sampler of a profile.
Public methodStatic memberLog(Exception)
Log an exception.
Public methodStatic memberLog(IEnumerable, Boolean)
Log a collection.
Public methodStatic memberLog(Object, Boolean)
Log an object.
Public methodStatic memberLog(String, LogType)
Log a line.
Public methodStatic memberLog(String, IEnumerable, Boolean)
Log a collection.
Public methodStatic memberLog(String, Object, Boolean)
Log an object.
Public methodStatic memberLog(String, String, LogType)
Log a line.
Public methodStatic memberObjectOrEnumerableToString(Object, Boolean, String)
Convert an object or collection to a string for display.
Public methodStatic memberObjectOrEnumerableToString(StringBuilder, Object, Boolean, String)
Convert an object or collection to a string for display.
Public methodStatic memberStartProfile
Start profiling a section of code.
Top
Fields
  NameDescription
Public fieldStatic memberNullString
The string to display for objects.
Top
Remarks
The Log(Object, Boolean) method is particularly useful for displaying the contents of any object or collection.
See Also

Reference