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

The clarity in your post is simply great Must confess that you present powerful steps on this blog, MrqePromoCode You definitely know what you were talking about and Your intelligence on the post could be giving us new knowledge.Pretty great post. InkPromoCode I simply stumbled upon your  weblog and wanted to say that I have really loved browsing your blog posts.Simply wish to say your article is as astonishing. The clarity in your post is simply great and i could asume you are an expert on this subject. AutoPartsPromoCode Well with your permission let me to grab your RSS feed to keep updated with forthcoming post.

Add new comment