View the code context for the stack trace of exceptions/errors

PHP Performance

We have released a new opt-in feature that allows the collection of code around every part of an error/exception stack trace. This feature is disabled by default. When enabled the Tideways daemon stores 10 lines of code around each step in the stack trace of an exception or fatal error.

You can enable this setting in the “Application Settings” screen for every application that supports Error/Exception tracking. It requires a tideways-daemon in version 1.5.4 or higher to take effect.

Sending code along to Tideways is tricky and for security reasons we strip the contents from single- and multiline string literals, herdocs and nowdocs directly on the daemon before sending them to us. Inconclusive blocks are completly ignored and never sent to our servers.

About the author

  • Benjamin

Benjamin
Founder & CEO

I am the founder and CEO of Tideways. I started the company over 10 years ago with the mission to move the PHP ecosystem forward, starting with performance. As managing director, I work across product, strategy, and the day-to-day of building a developer-focused SaaS business.

I’m a core contributor to the Doctrine open-source project and a founding board member of the PHP Foundation, which reflects my long-standing commitment to the PHP ecosystem. I particularly enjoy working at the intersection of application performance, developer experience, and the open-source community that makes PHP what it is. Outside of work, I enjoy board games, hiking, and coffee.