Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Ok. So while this isnt a programming question. I wanted to know how do people debug apps? How do you view log cat, and where these exceptions are thrown etc? And do I need to run the app on the emulator to see all the stuff, or is there a way to view this after running the app on my phone(while not being connected to the computer)

Links to plugins and tips would be really helpful, as im gonna start work on my next game, and while the first one works fine, had a lot of problems while debugging.

share|improve this question

closed as off-topic by Byte56 Nov 12 '13 at 17:00

  • This question does not appear to be about game development within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Can you explain how you're wanting an answer that a game developer could answer better? As it is now, this question appears to be more general and better asked on stackoverflow. –  Byte56 Nov 11 '13 at 3:00

1 Answer 1

Use a cord to connect what ever device you using to test your program with your computer.

You should see the log cat in place of the command prompt. All thrown exceptions and null pointers will show up there and will include line numbers which are very helpful for debugging.

Also It is important to note that System.out.print will not show up in log cat unless you specify that you want it to in preferences. Alternatively you can use System.err.print which will show up as orange text in your log cat.

Hope this helps.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.