Xonotic Forums
[SOLVED] Breakpoint editor / Debugger? - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12)
+--- Thread: [SOLVED] Breakpoint editor / Debugger? (/showthread.php?tid=6320)



Breakpoint editor / Debugger? - dingus - 07-27-2016

Hi again,

I'm trying to write my own weapon code for xonotic, but I'm having some trouble getting things to work properly. It would be very helpful if I could step through my code line-by-line while the game is running. Is there some kind of debug mode for setting breakpoints, etc?

EDIT: apparently there isn't any such thing for this game.

In case anyone else ever runs into this problem- The best you can do is LOG_INFO("your", "strings", ..., "here"), which will print to the console. There are also vtos and ftos functions which are helpful for debugging.


RE: Breakpoint editor / Debugger? - BuddyFriendGuy - 08-01-2016

FYI, I do a lot of LOG_INFO and sometimes "say".