Hi everyone,
I want to share a new open source tool that might help anyone who builds plugins or chases bugs in live environments.
TraceLens - Dataverse Plugin Trace Log Viewer
If you work with Dataverse you'll know the drill: something breaks, you open the plugin trace logs, and you're staring at thousands of lines of plain text. Finding the actual exception, working out which plugin triggered which, figuring out where the slowness comes from, it all eats up serious time. I got tired of dealing with this myself, so I built a solution for my own use and then published it as open source so anyone can benefit.
Usage is simple: paste your log or drag in a .txt file, and within seconds you get a readable view. Exceptions are marked in red with details one click away, slow steps over 2 seconds are highlighted in yellow, and trigger chains show up as an indented tree. There's a summary at the top with total executions, errors and duration. Filtering and search are there too.
The most important thing for me was privacy. We all know trace logs can contain customer data, so everything runs entirely in your browser. The log never leaves your machine, no account needed, nothing to install. If you don't have a log handy, there's a "Load sample log" button so you can try it straight away.
Live: https://barancevik.github.io/Dynamics365TraceLens
GitHub: https://github.com/barancevik/Dynamics365TraceLens
I'd really appreciate it if you gave it a try and shared your thoughts. If you come across a format it can't parse, open an issue on GitHub and I'll add support for it.