You are here

"Bug Adventures" III - How to use Eclipse

Submitted by Roland on Sun, 2009-01-18 16:08

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

  1. How do I use f***ing Eclipse?
    1. Easy: always make sure the  Dragonfly Perspective is open from Window->Open Perspective->Other
  2. How do I load code from a JAR from other people for a Bug APP that's not on BUGnet?
    1. "New Bug Project" (one of the funny icons on the top left , the one in the middle)
    2. Select All Services, and select your Bug, then click Finish
    3. Right Click->Import->General->Archive File->Browse->blah.jar that you received from your friend or fellow developer
    4. Select "Yes To All" when asked about "Overwrite .project" in folder
    5. 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

 

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

Add new comment