Debugger Interceptors
CBDebugger emits several interception events
The debugger can be extended by listening to several events it fires. Here is a collection of such events and the data they emit.
Event | Description |
---|---|
| Before the debugger panel is rendered |
| After the last debugger panel is rendered |
| Before any individual profiler report panels are rendered |
| After any individual profiler report panels are rendered |
| Fires after the module has fully loaded and been configured with all runtime settings |
| Fires after the module is unloaded |
| When the request tracker has been created and placed in request scope |
| Before the request tracker is saved in the profiler, last chance to influence the recording |
beforeDebuggerPanel / afterDebuggerPanel
Data | Description |
---|---|
| The debugger configuration struct |
| The debugger service object |
beforeProfilerReportPanels / afterProfilerReportPanels
Data | Description |
---|---|
| The debugger configuration struct |
| The debugger service object |
| The full profiler report structure |
onDebuggerLoad / onDebuggerUnload
No event data emitted
onDebuggerRequestTrackerCreation
This event is fired once the debugger is ready to start tracking the request. You can use the structure to incorporate anything into it.
Data | Description |
---|---|
| The request tracker structure you can use to add your own data collection for the request. |
onDebuggerProfilerRecording
This event is fired right before the request tracker struct is stored in permanent storage. Your last chance to add data into the tracker structure.
Data | Description |
---|---|
| The request tracker structure you can use to add your own data collection for the request. |
Last updated