Skip to content

Debugging help

Sean Lewis edited this page Aug 19, 2018 · 2 revisions

Getting a debug dump

This is the most useful piece of information in bug reports. It contains all the below information automatically, so doing this will make all the other steps unnecessary.

Run practicemode_debuginfo on the server, and check the server's root addons/sourcemod/logs directory for a file called practicemode_debuginfo.txt. Attach it or paste it (not a link to it) directly in the bug report.

Finding practicemode version

You can either check the sm_practicemode_version cvar or the version info from sm plugins.

If you have access to the server console or have sourcemod admin: sm_cvar sm_practicemode_version

Otherwise, type : sm plugins, sm plugins 11, sm plugins 22, ... until you find practicemode.

Finding sourcemod version

From the server console or in a client console, type: sm version

Getting error logs

Check addons/sourcemod/logs. The files are called something like error_20170831.log.

Why isn't "latest" a useful version?

Because it's not a version. Even if it's obvious what the "latest commit" or "latest release" is right now, it will make it much harder to understand the issue in the future when it won't be as obvious.