Hi. I only started working on J2ME for 2 months so I'm quite new here. >_<
I'm currently working on a project where I'm given the full source code of J2ME games. My duty is to port these games to various mobile phone models. That is, the game must be able to run smoothly on various screen sizes, heap memory and etc.
My usual tasks involve editing the code, test it on the emulator, bug fixing and etc.
I use Ant build script to provide multiple-device support. Which mean there are preprocessors in the .java sourcecode, so using an IDE to debug the code(set break points, stepping through the code), from what I heard, is not possible.
I need to use System.out.println() to print something on the emulator's console window when finding/fixing bugs.
That's my story.
On to the questions:
Actually what I want to ask in this thread is -> is this really the best method possible to find/fix the bugs ? (I mean using the System.out.println()) Is it really impossible to debug using an IDE? Or if not IDE, are there any better way?
And I'd love to hear ANY tips from experts about porting a game. =)
Thank you very much.