Gallardo9944 Posted May 17, 2015 Share Posted May 17, 2015 Hello. When you're making a very big project and make a simple mistake, the code fails to work and it may see a huge list of errors spamming your debugstring. This small debugger is made to see errors counter instead of a huge spamlist of those. The latest version can always be found here: https://github.com/Gallardo994/codebugger (Licenced under GPL, you must provide sources if you modify the resource) How to use: 1. Add it as a resource 2. Add command.debug to your ACL 3. /debug This is far not the final version and more than that, it has been made for several minutes because the original debugscript kept annoying me. Colours can be switched to your needs, same with everything else like lines amount, positioning and more. Currently it doesn't support many things like wordwrapping, scrolling, etc and I'm not really planning to add that as for now. It's my first public work and if you're not planning to use it, please don't make a mess in the comments. If you're planning to contribute, you can send your pull requests, that's always welcome. Link to comment
ALw7sH Posted May 17, 2015 Share Posted May 17, 2015 That's really useful especially when you are working with onClientRender Link to comment
Gallardo9944 Posted May 19, 2015 Author Share Posted May 19, 2015 If this is added, the system will be able to catch user colour in debug messages in further versions. Link to comment
Gallardo9944 Posted May 23, 2015 Author Share Posted May 23, 2015 Updated the github repo. Changes: * Moved to the left side of the screen (in case you want to use it together with MTA debugscript) * Added F1 longpress to show faded out lines * Added comments to all functions for easier reading Link to comment
roaddog Posted May 23, 2015 Share Posted May 23, 2015 I looove it, great job Gallardo. Link to comment
Tekken Posted May 24, 2015 Share Posted May 24, 2015 NIce, way beter than `/debugscript` Thanks! Link to comment
Gallardo9944 Posted May 24, 2015 Author Share Posted May 24, 2015 It still has some minor issues I'm willing to fix. Sadly many of them can't be fixed at the moment, e.g. several missing errors which don't go through for some reason. Link to comment
Gallardo9944 Posted May 24, 2015 Author Share Posted May 24, 2015 Updated the github repo again. Changes: * Added more comments * Added /debugmode (to add a debug hook to a particular resource) (supports excluded functions) A little note: this is not really the way I want it to work because it doesn't get serverside functions. It will be remade a little bit later (but may affect server performance) * Added an option to pause the debug line with F2 * Added a small gap between left side of the screen and the messages (so error counter shows properly) * Added welcome message FIXED A TYPO IN THIS COMMIT: https://github.com/Gallardo994/codebugg ... a378dfeb00 Please make sure to redownload it if you got it before seeing this message. Link to comment
roaddog Posted May 17, 2016 Share Posted May 17, 2016 It cant find the resource https://github.com/Gallardo994/codebugger?files=1 Click download zip. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now