WEB-INF.cftags.component coldbox.system.web.services.BaseService coldbox.system.web.services.DebuggerService
This is the service that powers the ColdBox Debugger.
Constructor Summary | |
---|---|
init(any controller)
Constructor. |
Method Summary | |
---|---|
any
|
getCookieName()
Get cookieName. |
any<Boolean>
|
getDebugMode()
I Get the current user's debugmode. |
any
|
getDebuggerConfig()
Get DebuggerConfig: coldbox. |
array
|
getProfilers()
Get Profilers. |
private any
|
getSecretKey()
Get secret key. |
any
|
getTimers()
Get the timers query from the request. |
array
|
getTracers()
Get Tracers. |
any
|
isDebugCookieValid()
Checks if the debug cookie is a valid cookie. |
void
|
onConfigurationLoad()
Called by loader service when configuration file loads. |
void
|
popProfiler()
Pop a profiler record. |
void
|
pushProfiler(query profilerRecord)
Push a profiler record. |
void
|
pushTracer(string message, [any extraInfo=''])
Push a new tracer. |
void
|
recordProfiler()
This method will try to push a profiler record. |
Any
|
renderDebugLog()
Return the debug log. |
Any
|
renderProfiler()
Renders the execution profilers. |
void
|
resetProfilers()
Reset all profilers. |
void
|
resetTracers()
Reset all Tracers. |
void
|
rotateSecretKey()
I generate a secret key value for the cookie which enables debug mode. |
void
|
setCookieName(string cookieName)
Set cookieName. |
void
|
setDebugMode(boolean mode)
I set the current user's debugmode. |
void
|
setDebuggerConfig(DebuggerConfig DebuggerConfig)
Set DebuggerConfig. |
void
|
setProfilers(array Profilers)
Set Profilers. |
private void
|
setSecretKey(string secretKey)
Set secret key. |
void
|
setTracers(array Tracers)
Set Tracers. |
void
|
timerEnd(any labelHash='')
End an internal code timer. |
any
|
timerStart(any label)
Start an internal code timer and get a hash of the timer storage. |
any
|
timersExist()
Do we have any request timers. |
Methods inherited from class coldbox.system.web.services.BaseService |
---|
convertToColdBox, getColdboxOCM, getController, getUtil, isFamilyType, onShutdown, setController |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Constructor
controller
Method Detail |
---|
Get cookieName
I Get the current user's debugmode. Boolean
Get DebuggerConfig: coldbox.system.web.config.DebuggerConfig
Get Profilers
Get secret key
Get the timers query from the request. Empty query if it does not exist. Query
Get Tracers
Checks if the debug cookie is a valid cookie. Boolean
Called by loader service when configuration file loads
onConfigurationLoad
in class
BaseService
Pop a profiler record
Push a profiler record
profilerRecord
- The profiler query for this requestPush a new tracer
message
- Message to SendextraInfo
- Extra Information to dump on the traceThis method will try to push a profiler record
Return the debug log.
Renders the execution profilers.
Reset all profilers
Reset all Tracers
I generate a secret key value for the cookie which enables debug mode
Set cookieName
cookieName
I set the current user's debugmode
mode
Set DebuggerConfig
DebuggerConfig
Set Profilers
Profilers
Set secret key
secretKey
Set Tracers
Tracers
End an internal code timer
labelHash
- The timer label hash to stopStart an internal code timer and get a hash of the timer storage
label
- The timer label to recordDo we have any request timers. Boolean