What's New With 4.2.0
January 2024
Last updated
January 2024
Last updated
CBDebugger 4.2 comes action-packed with tons of new features, improvements and bug fixes. Let's check out the major areas of improvement.
You can now track Hyper http/s requests right in a new panel. It will also aggregate the request's total time, slowest, grouped, and timeline. It also comes with some great options for configuration:
The ColdBox debugger can now profile any SQL running via Lucee queries. It will provide grouped, timeline, and slowest views as well. However, you must make sure that Lucee is in debugging mode.
IMPORTANT Please note that to use this feature the engine must have two debugging settings enabled
You can easily add those to your .cfconfig.json
or enable it under the Debugging
panel in the Lucee Admin.
Here are the configuration settings available for it:
You now can generate Java heap dumps from the debugger visualizer so you can analyze the heap offline. Great for debugging memory leaks or just system stability.
The request dock has now been cleaned up to only show the request's information and the UI updated for a better and seamless dock UI. The rest of the information has been moved to the visualizer at the /cbdebugger
entry point.
Once you click on the dock, it will expand to show the current request's debugging information.
We have added new improvements to visualizing SQL and JSON in the context panels.
You can now add timers manually into the tracking facilities via the Timer
object's add()
method or via the TimerDelegate
and the addCBTimer()
method.
You can get access to the Timer
object in different ways:
New HyperCollector
so you can now track hyper requests if enabled
Timer
can now add timers a-la-carte via the add()
method
TimerDelegate
now has a addCBTimer()
method
New fast and furious and tiny SQL/JSON Formatter
New LuceeSqlCollector
you can use to profile all SQL calls in Lucee
New luceeSql
configuration to control the Lucee SQL calls collector
Changed the instance
argument to any
in the debuggerService.openInEditorURL
to allow for a flat representational string of the URL to open in the editor.
Ability to download a heap dump snapshot from the visualizer
The request panel dock is now a real dock and the only one presented, the rest are only show in the visualizer
The requestTracker.expanded
option is now removed, it's always expanded for visualizer and contracted for the dock
Updated test harness UI to make it easier to create debugging events
Dumb whitespace added by CFML engines when doing inline <pre>#method()#</pre>
calls.
Better error handling when Debugger assets are not compiled instead of a cryptic error message: The parameter [str] to function [closure_m] is required but was not passed in.