"Bug Adventures" III - How to use Eclipse
Eclipse is a maze of twisty passages all alike for those not used to it :-) Herewith a quick and dirty guide for those not used to it! More in my Bug Adventures wiki
- How do I use f***ing Eclipse?
- Easy: always make sure the Dragonfly Perspective is open from Window->Open Perspective->Other
- How do I load code from a JAR from other people for a Bug APP that's not on BUGnet?
- "New Bug Project" (one of the funny icons on the top left , the one in the middle)
- Select All Services, and select your Bug, then click Finish
- Right Click->Import->General->Archive File->Browse->blah.jar that you received from your friend or fellow developer
- Select "Yes To All" when asked about "Overwrite .project" in folder
- Right Click "Send to Bug
There doesn't seem to be a way to single step through code on the Bug itself. This seems to work no problem on the Virtual Bug but I don't use simulators, sorry! I used to do this via adb/gdb/xdb/ in the 1990s with HP-UX and other unix variants so there must be a way to do this on the Bug. Pointers appreciated!
Comments
Ken Gilmer (not verified)
Mon, 2009-01-19 08:43
Permalink
Remote debugging
Hi Roland,
Thanks for all the feedback and keep it coming! There are instructions written by Dave Findlay on our wiki to get remote debugging working:
http://bugcommunity.com/wiki/index.php/Java_Debugging_and_Profiling_on_your_BUG
It will be a bit tricky because you'll have to install a different JVM build that has debugging enabled, and it's also a challenge to build the JVM from sources. We are working on providing binary packages publically and are almost ready. Stay tuned on the community site and we annouce when the debug-enabled jvm package is ready.
thx
ken
Roland
Tue, 2009-01-20 15:32
Permalink
thanks ken! i'll check that out but i doubt i will install it
since i am not into building JVM's from scratch and/or using experimental software
now if you could only point me to a program that would tell me whether my GPS is defective or not :-)
Add new comment