ColdBox Debugger v4.2.0: Unveiling Advanced Debugging Techniques for ColdBox Applications
ortussolutions
113 views
43 slides
Jun 30, 2024
Slide 1 of 49
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
About This Presentation
Explore the latest in ColdBox Debugger v4.2.0, featuring the Hyper Collector for HTTP/S request tracking, Lucee SQL Collector for query profiling, and Heap Dump Support for memory leak debugging. Enhancements like the revamped Request Dock and improved SQL/JSON formatting streamline debugging for op...
Explore the latest in ColdBox Debugger v4.2.0, featuring the Hyper Collector for HTTP/S request tracking, Lucee SQL Collector for query profiling, and Heap Dump Support for memory leak debugging. Enhancements like the revamped Request Dock and improved SQL/JSON formatting streamline debugging for optimal ColdBox application performance and stability. Ideal for developers familiar with ColdBox, this session focuses on leveraging advanced debugging tools to enhance development efficiency.
Size: 13.74 MB
Language: en
Added: Jun 30, 2024
Slides: 43 pages
Slide Content
INTO THE BOX 2024
CB DEBUGGER
FOR MODERN DEVELOPMENT
•Software Engineer
•15+ Year of experienceÂ
•Husband/Father
•Hardware Tinkerer
SCOTT STEINBECK
SPEAKER ITB 2024
•Coding on my free time
•Overcommitting myself
•Automating everything
•IOT Development
•Teaching Coding/Electronics
•Contributing to open source
HOBBIES
CB Debugger
Deep Dive: Coldbox Debugger Dock
Current Coldbox Version
CB Debugger
Deep Dive: Coldbox Debugger Dock
Application Name (Server.json/.env)
Environment (Server.json/.env)
CB Debugger
Deep Dive: Coldbox Debugger Dock
Lucee Version & Java Version (Java 8)
CB Debugger
Deep Dive: Coldbox Debugger Dock
CB Debugger Dashboard Home Page
CB Debugger
Deep Dive: Coldbox Debugger Dock
Framework Reinit
Clears all debugger logging
CB Debugger
Deep Dive: Coldbox Debugger Dock
Turn off CB Debugger
! This is not application wide, sets a cookie for your browser !
CB Debugger
Deep Dive: Coldbox Debugger Dock
Page/AJAX URL
& Return Status Code
Internal Event Route
CB Debugger
Deep Dive: Coldbox Debugger Dock
Total Page Loading Time
DB & Page Load
CB Debugger
Deep Dive: Coldbox Debug Tabs
CB Debugger
Deep Dive: Coldbox Debug Tabs
Number of Items / Queries
CB Debugger
Deep Dive: Coldbox Debug Tabs
Total Query Time
Should be equal or less depending on if you actually were using QB / Quick (which calls QB)
CB Debugger
Deep Dive: Coldbox Execution Timers
Automatic Timers
for interceptors
CB Debugger
Deep Dive: Coldbox Execution Timers
Layouts
Timing
CB Debugger
Deep Dive: Coldbox Execution Timers
Internal Run Event
Called by the Layout
CB Debugger
Deep Dive: Add Custom Timers
CB Debugger
Deep Dive: Add Custom Timers
CB Debugger
Deep Dive: Coldbox Execution Profiler
Profiler
CB Debugger
Deep Dive: Coldbox Execution Profiler
Single
Method Profiler
Profile
All Methods
CB Debugger
Deep Dive: WireBox Creations
Wirebox
Creation
CB Debugger
Deep Dive: ColdBox Interceptions
CB Debugger
Deep Dive: ColdBox Event Information
Event {module}: Handler / Action
Event Caching is on and useable on the page
Layout from Layouts folder (overridable)
Route with Placeholder
Route with action filled in from URL
Metadata that can be added via the router
HTML View template in the views folder
CB Debugger
Deep Dive: Coldbox Http Request
Stored
Request
Information
JVM Memory
At the time of
The request
CB Debugger
Deep Dive: Coldbox Http Request
Headers
Cookies
Encoding
Cache Control
Gzip, etc.
CB Debugger
Deep Dive: Coldbox Tracer Messages (Logbox)
Internal Debugging and logging
Pulled directly in and tied with the request
CB Debugger
Deep Dive: Coldbox Request Structures
Use this sparingly, Tracking multiple RC/PRC
collections can crash your server
CB Debugger
Deep Dive:
Enable
Query
Performance
CB Debugger
Deep Dive: Query Performance/Duplication
Query being called
Number of times and code locations it’s being
called from
CB Debugger
Deep Dive:
Query
Performance
CBORM
Total Query Time & Count
Grouped & Ordered
Passed In Params
Formatted SQL for
easy reading
CB Debugger
Deep Dive:
Query
Performance
Lucee/Adobe
Total Query Time & Count
Grouped & Ordered
CB Debugger
Deep Dive:
Query
Performance
QB/Quick
Total Query Time & Count
Grouped & Ordered
CB Debugger
Deep Dive: ColdBox Modules
Modules
Dependencies
Start Times
CB Debugger Deep Dive: ColdBox CacheBox
All Caches Created
Cache Hit Ratio
JVM Memory
CB Debugger Deep Dive: ColdBox CacheBox
Actual Cached Items
Click to see exactly what is in the cache
CB Debugger Deep Dive: ColdBox Async
Scheduler Pool
All the tasks completed/active
CB Debugger
Deep Dive: CB Debugger
Heap Dump
CB Debugger
Deep Dive:
CB Debugger
Internal
Interceptors
INTO THE BOX 2024
THANK YOU TO OUR
SPONSORS
INTO THE BOX 2024