Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Breakpoint editor / Debugger?

#1
Question 
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.
Reply

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



Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb [?] Shader Editor / Syntax _para 6 4,053 07-08-2018, 09:59 PM
Last Post: Julius

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-