Debug J2me java Mobile game

slinetz

Senior member
Apr 2, 2000
824
0
0
the java game is run on cellular phone emulator, i can put some system.println insdie code. but sometimes simple println will cause emulator terminate application abnormally. if i can't use prlintln what other method can i use to debug a program or anyone knows why println will cause application terminate.. thanks
 

naddicott

Senior member
Jul 3, 2002
793
0
76
Try:

system.out.println

For more questions on this stuff try dropping in here (#mobitopia IRC channel via applet) and asking the locals for hints.

Good luck.
 

slinetz

Senior member
Apr 2, 2000
824
0
0
system.out.println will cause application error and terminate application abnormally. that's why i can't debug, and how to go to that irc channel? by simply clicking it seems not working help thanks
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Are you using System.out.println("Your text or" + var); ?

Java is case sensitive.