What's New With 4.2.0
January 2024
CBDebugger 4.2 comes action-packed with tons of new features, improvements and bug fixes. Let's check out the major areas of improvement.
Hyper Collector
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:
Lucee SQL Collector
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:
Heap Dump Support
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.
New Request Dock
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.
Improved SQL/JSON Formatting
We have added new improvements to visualizing SQL and JSON in the context panels.
Add Timers Manually
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:
Release Notes
Added
New
HyperCollector
so you can now track hyper requests if enabledTimer
can now add timers a-la-carte via theadd()
methodTimerDelegate
now has aaddCBTimer()
methodNew fast and furious and tiny SQL/JSON Formatter
New
LuceeSqlCollector
you can use to profile all SQL calls in LuceeNew
luceeSql
configuration to control the Lucee SQL calls collectorChanged the
instance
argument toany
in thedebuggerService.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
Changed
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
Improved
Updated test harness UI to make it easier to create debugging events
Fixed
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.
Last updated