Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

We all like our game debugging

A topic by James / Java Cake Games created Dec 01, 2021 Views: 200 Replies: 4
Viewing posts 1 to 5
Submitted(+1)

How do you debug? Personally, I'm a big fan of System.out.println("yee");

Jam HostSubmitted

I'm more of a "DERP" guy xD

HostSubmitted

Oh hah hah this is a great question for us game developers. Typical Java recommendation is to make break points but that is super annoying if it's something that happens every frame. You don't really want to have to unpause every millisecond. Did you know that you can configure breakpoints to not pause in Idea? That's super cool. That way you can log different stuff without having to recompile. 

But in all honesty soutv is an incredible shortcut and I usually debug that way...

Jam Host(+2)

I don't debug, I deploy to production and wait for user crash reports.

Submitted

I set breakpoints that use conditions via IntelliJ, with exceptions for frame by frame testing then I gdx log it out