Click or drag to resize
DebugHelper Methods

The DebugHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCanDebug
Returns true if the given method can be included in debug
Public methodStatic memberClearLogs
Clears all logs within all debugs
Public methodStatic memberCreateLogTable
Creates new debug log table
Public methodStatic memberDisableDebug
Disables all debugs in the context of current request / thread
Public methodStatic memberDisableSchedulerDebug
Disables all debugs if DebugHelper.DebugScheduler is false, returns original settings which can be restored afterwards.
Public methodStatic memberEnsureDiskPath
Checks if all folders of the given path exist and if not, it creates them.
Public methodStatic memberEnsureDurationColumn
Ensures the Duration column in the datateble of Request log.
Public methodStatic memberFindRequestLogs
Finds the collection of request logs by the given request GUID
Public methodStatic memberGetContext
Gets the context for debug operation
Public methodStatic memberGetDebugBoolSetting(String)
Returns logical or of setting in web.config and setting.
Public methodStatic memberGetDebugBoolSetting(String, Boolean, Boolean)
Returns logical or of setting in web.config and setting.
Public methodStatic memberGetDebugCounter
Returns state of the debug counter.
Public methodStatic memberGetDebugLogLength(String)
Returns log length of given debug (looks first to the settings, if the value is not defined, takes value from web.config, if not defined even in web.config, returns 10 as default value).
Public methodStatic memberGetDebugLogLength(String, Int32)
Returns log length of given debug (looks first to the settings, if the value is not defined, takes value from web.config, if not defined even in web.config, returns 10 as default value).
Public methodStatic memberGetRequestUrl
Gets the request URL for the log purposes.
Public methodStatic memberGetSettings
Gets the settings for a given debug
Public methodStatic memberGetStack
Gets the current stack.
Public methodStatic memberGetThreadStack
Gets the current stack.
Public methodStatic memberIsDebugEnabled
Returns true if the given debug is enabled
Public methodStatic memberRegisterDebug
Registers the debug to the debug helper
Public methodStatic memberRegisterLogs
Registers all request logs to the appropriate log lists.
Public methodStatic memberReleaseContext
Releases the last context.
Public methodStatic memberResetDebugSettings
Sets all the debug settings to null and causes them to be reloaded. This method is synchronized through all web farm servers.
Public methodStatic memberRestoreDebugSettings
Restores the debug settings from array of values.
Public methodStatic memberSetApplicationStartDebug
Returns true if the given debug is enabled
Public methodStatic memberSetContentPageDebug
Sets the debug flags for content page
Public methodStatic memberSetContext
Sets the debugging context.
Public methodStatic memberSetInitialDebug
Sets the initial debugging settings.
Public methodStatic memberSetSystemPageDebug
Sets the debug flags for system page
Public methodStatic memberWriteRequestLogs
Writes all request logs to the files
Top
See Also