Apex TraceLens is an innovative visual time-travel variable debugger and dynamic SOQL inspector for Salesforce Apex.
Instead of stopping execution threads or locking database resources in Production, TraceLens operates 100% safely by parsing Salesforce execution logs in the background and overlaying runtime assignments directly inside your VS Code editors.
🎨 Visual Developer Experience
Inline Variable Highlights: See variable assignments directly next to the code line (similar to GitLens but with live runtime values!).
SOQL Query Inspector: Hover over any SELECT query to see bind variables resolved and the exact number of rows returned.
Variable Timelines: Hover over a variable to see a collapsible step-by-step history of how its value mutated during that transaction.
Call Tree & Timeline: A premium glassmorphic sidebar visualizer detailing method executions and transaction durations.
Governor Limits Gauges: Sleek progress gauges illustrating CPU usage, SOQL, and DML counts.
⚡ Quick Start
Open this extension in VS Code.
Open any Salesforce project.
Launch the TraceLens Control Center sidebar.
Select your target org and active user, then toggle Start Tracing User.
As the user executes operations in Salesforce, debug logs are downloaded and rendered directly inside the code!