rssPhrozenByte Debug Utilities (phrozenbyte-debug)
Category: | script |
---|---|
Author(s): | PhrozenByte |
Downloads: | 257 |
Rate: | You need to be logged in to vote |
Rating: | None (0) |
Description:
PhrozenByte Debug is a utility resource, allowing resource developers to add "quiet" debug messages to their resources.
------------------------------
Learn more: https://forum.mtasa.com/topic/88959-phrozenbyte-debug/
GitHub repository (source code): https://github.com/PhrozenByte/mtasa-debug
PhrozenByte Debug is free software, released under the terms of the GNU Affero General Public License version 3 (GNU AGPL).
------------------------------
MTA's built-in debug mechanism (`outputDebugString()` function) floods both the server console and log with debug messages - even in productive environments. This bears the danger that a server administrator misses important messages in his server log. This utility resource hooks into MTA's built-in `/debugscript` command to detect whether a (authorized) player is currently debugging MTA. If this is the case, it passes all debug messages to MTA's `outputDebugString()` function; otherwise it discards them.
------------------------------
Learn more: https://forum.mtasa.com/topic/88959-phrozenbyte-debug/
GitHub repository (source code): https://github.com/PhrozenByte/mtasa-debug
PhrozenByte Debug is free software, released under the terms of the GNU Affero General Public License version 3 (GNU AGPL).
------------------------------
MTA's built-in debug mechanism (`outputDebugString()` function) floods both the server console and log with debug messages - even in productive environments. This bears the danger that a server administrator misses important messages in his server log. This utility resource hooks into MTA's built-in `/debugscript` command to detect whether a (authorized) player is currently debugging MTA. If this is the case, it passes all debug messages to MTA's `outputDebugString()` function; otherwise it discards them.