News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Stack Trace

Started by live627, February 13, 2020, 11:17:44 AM

Previous topic - Next topic

live627

Link to the mod

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.

vbgamer45

Great mod for SMF 2.0.x! Must install if you have a large site and what to trace issues that may occur.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

-Rock Lee-

A great job indeed and very useful to find problems in large places, as is happening right now in website I am collaborating.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Shambles

Yep - looks very neat.  Also good for those that missed the download of Arantor's "stack trace" mod.

live627

Ah yes, I tried his out years ago, but it would skip frames sometimes.

Advertisement: