Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Debugging: using eclipseME or whatever .. ?  (Read 1645 times)
0 Members and 1 Guest are viewing this topic.
Offline Serethos

Junior Member




Java games rock!


« Posted 2004-12-20 13:16:15 »

i really need a way to debug my midlets like debugging on normal applications. does anyone have made that successfully ?
i tried to use eclipseME but i have massive problems with it ..
Offline mryzl

Senior Newbie




Java games rock!


« Reply #1 - Posted 2004-12-21 14:56:05 »

Have you tried NetBeans 4.0?
http://www.netbeans.org/kb/articles/mobility.html
Offline ribot

Junior Member




Ribot - mobile UI specialist


« Reply #2 - Posted 2005-01-11 18:49:38 »

I use eclipse ME and the Nokia Development Suite ver 2.1 or .2.  One of the options of eclipse ME/NDS allows the addition of a very very helpful debug screen that catches all the sys.out calls.

I've found the above more than meet my needs in my daily development circles.  Though, I'm all ears for any hints and tips as to tool optimisations.

Cheers,

ribot


http://ribot.co.uk - design agency focused on mobile
http://www.retrospecs.co.uk - online vintage eyewear store
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Serethos

Junior Member




Java games rock!


« Reply #3 - Posted 2005-01-11 20:12:31 »

i use a full bunch of emulators, some of them support the debug console (i have no clue why some dont do it). but debug consoles are not real step-by-step debuggin with a display of the whole heap usage and content.
like i said, i never got eclipseMe debugging to work
Offline ribot

Junior Member




Ribot - mobile UI specialist


« Reply #4 - Posted 2005-01-11 20:49:44 »

Point taken - so are you still using Eclipse for development?

http://ribot.co.uk - design agency focused on mobile
http://www.retrospecs.co.uk - online vintage eyewear store
Offline Serethos

Junior Member




Java games rock!


« Reply #5 - Posted 2005-01-12 11:15:20 »

yes, i still use my (now beloved) eclipse.
but since i started to develope on handset devices there have been a few problems which really slow your working speed down:

first of all no general debugger (instead compiling over ant and testing over and over again in emulator or real device) and the bad integration of some open source projects in eclipse. especially i have antenna in mind. i really need it (though its features are more than incomplete) but some lines of preprocessing code can screw eclipse massively up:
code completion, refactoring etc.
Offline gangrel-br

Junior Member




Java and Scala! Thats the game =)


« Reply #6 - Posted 2005-01-12 16:10:09 »

Quote
but some lines of preprocessing code can screw eclipse massively up: code completion, refactoring etc.


The same happens with NetBeans 3.6 - does anyone knows if it is fixed in NetBeans 4?

Paulo "JCranky" Siqueira
Offline mryzl

Senior Newbie




Java games rock!


« Reply #7 - Posted 2005-01-25 08:14:36 »

Quote


The same happens with NetBeans 3.6 - does anyone knows if it is fixed in NetBeans 4?



There is a big difference between NB 3.6 and 4.0, especially in J2ME area. 4.0 uses a preprocessor and it is very well integrated. You can easily switch between preprocessor configurations, you can build all configurations in one click, code completion, debugger work well.

See the screenshot:
http://www.netbeans.org/images/screenshots/4.0/marv_miner.jpg

And tutorial:
http://www.netbeans.org/kb/articles/tutorial-j2mefragmentation-40.html
Offline skeeve

Junior Newbie




Java games rock!


« Reply #8 - Posted 2005-02-27 12:07:31 »

This probably doesn't help you much but we developed our own emulator - still some way to go to cover all apis.

However, for "logical" debugging it rocks. You can run your midlet in process from within Eclipse and its FAST. You know how all those emulators from Sony/Samsung/Sun - even the S60 ones - drag their feet ... this blows them away. It makes the s40 emulator look sluggish.

The emphasis here tho is on logical debugging.

So :
1. You can make sure game logic/collisions etc work
2. You can verify that the application complies with device behaviour (key codes etc).

but

1. Heap profiling is out - well tbh even with the Nokia emulators this is touch and go.
2. Speed testing is unrepresentative.
3. We haven't sorted all the font issues yet ... so font behaviour is off (but then I haven't found an emulator that does this properly yet anyway).


It makes a huge difference tho for  getting the application to a state where you're confident wierd behaviour on the device - is the device's fault.

Offline danielmfreitas

Senior Newbie




Java games rock!


« Reply #9 - Posted 2005-03-08 10:45:26 »

Huys,

If you use Eclipse/EclipseME, you can debug your midlets. From the docs at EclipseME plugin site, what you have to do is set the debugger timeout for at least 15000 ms (Window->Preferences->Java->Debug).

It's not perfect tough. Actually is quite buggy. Sometimes the debugger will not show any signs of activity and Eclipse will not be able to stop the midlet from running.

But sometimes it works. It's a start. Maybe they will improve debugging in later versions.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (63 views)
2014-04-15 18:08:23

BurntPizza (61 views)
2014-04-15 03:46:01

UprightPath (74 views)
2014-04-14 17:39:50

UprightPath (57 views)
2014-04-14 17:35:47

Porlus (74 views)
2014-04-14 15:48:38

tom_mai78101 (100 views)
2014-04-10 04:04:31

BurntPizza (160 views)
2014-04-08 23:06:04

tom_mai78101 (255 views)
2014-04-05 13:34:39

trollwarrior1 (208 views)
2014-04-04 12:06:45

CJLetsGame (215 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!