Stop reading logs. Start seeing the execution.
ForceLens turns a raw Apex log into the exact order Salesforce ran your transaction, tracking every trigger, flow, and query, then explains it with the AI model you already pay for.
What is ForceLens?
ForceLens is a free Chrome extension that works as a Salesforce debug log analyzer. It captures Apex debug logs in one click, reconstructs the true order of execution, and analyzes Flows, SOQL queries, CPU time, and governor limits, entirely in your browser, with optional AI explanations powered by your own API key. New to debug logs? Start with our complete guide to Salesforce debug log analysis.
One click. The log captures itself and opens itself.
Every other tool makes you set up a Trace Flag, run your code, switch tabs, and dig for the log. ForceLens collapses that entire ritual into a single button, then hands you the analysis. This is the part no one has built before.
- Open Setup → create a Trace Flag
- Set debug levels, dates, user…
- Run your action
- Switch to the Debug Logs tab
- Hunt for the right log, then open it
- Click Smart Capture
- …that's it.
It sets the trace flag for you, captures every log as it fires, groups them live, and drops them in a panel you can open, already analyzed, without ever leaving your page.
Welcome, Prit
Manage and customize Salesforce from Setup.
| Name | Type |
|---|---|
| Prit Sakhvala | User |
| SFDC_DevConsole | Debug Level |
| Asset Layout | Page Layout |
| OpportunityTrigger | Apex Trigger |
A Salesforce log analyzer that no other tool matches
ForceLens is not "just a log viewer." It reconstructs execution, reads Flows like an expert, runs on the AI model you choose, and keeps every session on your machine.
Your key. Your model. Zero middleman.
Plug in Claude, GPT-4o, Groq or OpenRouter. Calls go straight to the provider, the key never leaves your browser, and we never see a token. No subscription tax on intelligence.
Anthropic Claude: deep reasoning over long execution traces.
- Local-only key storage
- Direct-to-provider calls
- 4 providers, one click
Finally see what fired, and why it fired first.
ForceLens rebuilds Salesforce's true order of execution from the log: before/after triggers, validation, flows, workflow, roll-ups. The thing every architect draws on a whiteboard, now drawn from your actual run.
- Reconstructed from real logs
- Trigger → Flow → Limits, in order
- No more guessing what ran when
Read every Flow through the right pair of eyes.
The same Flow, analyzed as a Developer, a Business Analyst, a QA engineer, or a Security reviewer. Each lens surfaces what that role actually cares about, then hands you a ready .docx report and an AI prompt to go deeper.
Developer lens: null-handling, bulkification, fault paths, and DML inside loops.
Every log you analyze, saved on your machine.
Your last 200 analyzed sessions stay in local storage, searchable by org or log ID, reopenable in one click, and never sent to a server. Close the tab, come back tomorrow, pick up exactly where you left off.
- Up to 200 sessions, stored locally
- Filter by org or log ID instantly
- Never persisted to any cloud
You never have to leave Salesforce.
No copying log IDs. No downloading files. No new tab to babysit. ForceLens quietly places one button exactly where your eyes already are, and the moment you click it, your log is open and understood.
On your Debug Logs list
An "Inspect Log" link sits right beside View · Download · Delete, exactly where your cursor already lives. One click and you're inside.
No log ID hunting
On a single log's detail page
Already staring at one log in Setup? "Inspect Log" appears next to Download and Delete, so the deep view is one click away, not a workflow away.
No downloading files
Inside the Developer Console
A pinned "Inspect with ForceLens" button rides the console's log tab strip. Stay in your flow: no closing the console, no context switch.
No context switch
Three places you already go. One button waiting in each. That's the whole idea. ForceLens meets you where you are.
Inside the ForceLens Analysis Workspace
Click through all 12 lenses, including Order of Execution and AI Pulse, to see exactly how your transaction is structured and explained.
Hand any Flow to ForceLens. Get back a story.
No more squinting at a maze of boxes on a canvas. Click once and ForceLens reads the whole Flow, scores its health, and writes it up, the way the right expert would explain it to you.
One button, right on the canvas
"Analyze Flow" and "Copy AI Prompt" appear right in Flow Builder: no export, no setup.
Zero setup
It reads the whole Flow live
Watch it parse every element, decision, loop, and fault path in real time.
Nothing missed
Choose the eyes you need
Developer, Business Analyst, QA, or Security: each lens scopes the findings to that role.
Made for your role
Walk away with a report
A health score, a ready .docx write-up, and an AI prompt to go even deeper.
Done in seconds
Free forever. You only bring your own key.
Smart Capture, the full execution tree, Order of Execution, Flow analysis, local history, and all 12 workspace lenses are free forever. They run entirely on your machine, so there is no server for us to charge for. The only thing you ever pay for is your own AI provider, and only if you choose to use the AI features.
Everything you might be wondering.
Straight answers before you install, on cost, safety, and exactly what runs where.
No catch. Smart Capture, the execution tree, Order of Execution, Flow analysis, local history, and all 12 workspace lenses are free forever, because they run entirely on your machine, so there is no server for us to charge for. AI explanations use an API key you supply, so you only ever pay your own provider for what you actually use.
Your debug logs are parsed in your own browser and stored only in your local browser storage. ForceLens has no server that receives or holds your logs. The only outbound calls are the ones you explicitly trigger: AI requests that go directly from your browser to the provider whose key you configured.
A key is only needed for the AI-powered explanations. Everything else (Smart Capture, the execution tree, SOQL/DML and limits views, and Flow analysis) works without any key at all. When you're ready for AI, plug in Claude, GPT, Groq, or OpenRouter.
It works wherever you read Apex debug logs: sandboxes, developer orgs, and production, across both Lightning Experience and Classic, plus the Developer Console and Flow Builder.
Your API key is stored locally in your browser and is sent only to the AI provider it belongs to, on requests you initiate. Logs stay local unless you send a snippet to your chosen AI for explanation. ForceLens never routes either through a server of its own.
Salesforce shows you a raw, line-by-line log. ForceLens reconstructs the true order of execution (triggers, flows, validation, queries and limits), captures logs in one click, reads Flows through expert lenses, and explains it all with the AI model you choose. It's an intelligence layer, not just a viewer.
Open your next log like an architect, not an archaeologist.
Install free, point it at any sandbox, dev org, or production environment, and get answers in under five seconds. Secure, local, and powered by the AI key you already own.