October 17, 2021, 02:36:45 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Additional Info
Type
Package ID
live627:stack_trace
First Created
February 10, 2020, 05:36:02 PM
Last Updated
February 10, 2020, 05:36:02 PM

Stack Trace v1.0

Show the backtrace in the error log
Compatible With 2.0.17
Latest version v1.0
Downloads 180
Reviews 0
Rating 0/5
Subscribers 1
License (View License)
Author(s)
Stack Trace 1.0





Show the backtrace in the error log

Introduction:


In simple terms, a stack trace is a list of the method calls that the application was in the middle of when an error was encountered.

Tracing the call stack is important for complex codebases such as SMF because doing so helps software engineers and other developers find bugs in the program. Because of the nature of modern code syntax, and the complexity of the average project, looking for bugs can be very difficult. A stack trace is just one of many tools that can be useful in finding bugs or glitches.

This mod works by calling debug_backtrace() from log_error to ask PHP to trace the call stack. The results are then serialized into a database field for viewing by the admin when the error log is opened.
stack_trace.zip
3305 KB
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: