News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF Tracy Debugger

Started by Bugo, January 25, 2022, 02:46:19 PM

Previous topic - Next topic

Bugo

Link to the mod

This modification integrates Tracy debugging tool with SMF.

You can use such functions as dd, dump, and bdump to output PHP variables. bdump function creates a new panel "dumps" on the debug bar.

Modders can add own panels using integrate_tracy_panels hook.

-Rock Lee-

It seems interesting to try it, let's see how it goes. Great job @Bugo 8)!


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

Dzonny

Interesting indeed, will try it, nice job man!  8)

dodos26

Forum dead after install this mod... HTTP ERROR 500

Diego Andrés

Quote from: dodos26 on March 19, 2022, 07:07:44 PMForum dead after install this mod... HTTP ERROR 500

Use repair_settings and remove the hooks (it will remove all hooks from all mods, not just the one this mod added).
Perhaps just removing the Tracy folder from Sources/ might bring back the forum so you can uninstall it.
And then of course, providing any relevant info from your error log could help solving a possible issue with the mod, or figuring out what happened.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Bugo

It is enough to rename Tracy dir to see the error in the Error log.

dodos26

Quote from: Bugo on March 19, 2022, 10:59:27 PMIt is enough to rename Tracy dir to see the error in the Error log.
Ye it fix and:
2: require_once(*/smf211/Sources/Tracy\Integration.php): failed to open stream: No such file or directory
*/smf211/index.php?action=admin;area=packages;sa=install2;package=smf_tracy_debugger_0.3.zip;pid=0
 smf211/Sources/Tracy/app.php (Linia 20)

Typ błędu
General
Komunikat błędu
2: require_once(*/smf211/Sources/Tracy\Integration.php): failed to open stream: No such file or directory
Plik
*/smf211/Sources/Tracy/app.php
Linia
20
URL strony powodującej błąd
*/smf211/index.php?action=admin;area=packages;sa=install2;package=smf_tracy_debugger_0.3.zip;pid=0
Informacje backtrace
#0: smf_error_handler()
Wywoływana z */smf211/Sources/Tracy/app.php w linii 20
#1: require_once()
Wywoływana z */smf211/Sources/Tracy/app.php w linii 20
#2: require_once()
Wywoływana z */smf211/Sources/Load.php w linii 393
#3: reloadSettings()
Wywoływana z */smf211/Sources/Packages.php w linii 1162
#4: PackageInstall()
Wywoływana z */smf211/Sources/Subs.php w linii 6073
#5: call_helper()
Wywoływana z */smf211/Sources/Packages.php w linii 91
#6: Packages()
Wywoływana z */smf211/Sources/Admin.php w linii 499
#7: AdminMain()
Wywoływana z */smf211/index.php w linii 187

The modification in package manager is shown as not installed

Bugo

Open Sources/Tracy/app.php and try to rename
require_once __DIR__ '\Integration.php';
with
require_once __DIR__ '/Integration.php';

Advertisement: