The Artima Developer Community
Sponsored Link

Java Buzz Forum
Debugging Orion Server in Eclipse

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Russell Beattie

Posts: 727
Nickname: rbeattie
Registered: Aug, 2003

Russell Beattie is a Mobile Internet Developer
Debugging Orion Server in Eclipse Posted: Sep 7, 2003 5:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Russell Beattie.
Original Post: Debugging Orion Server in Eclipse
Feed Title: Russell Beattie Notebook
Feed URL: http://www.russellbeattie.com/notebook/rss.jsp?q=java,code,mobile
Feed Description: My online notebook with thoughts, comments, links and more.
Latest Java Buzz Posts
Latest Java Buzz Posts by Russell Beattie
Latest Posts From Russell Beattie Notebook

Advertisement
This must be the weekend that I discover obvious shit that I never knew before. The first thing that Matt said on #mobitopia after reading my PC Suite converter post below is "you didn't know that?". Doh!

So last night I was getting frustrated with a bit of server-side Java and I was like "there's got to be a way to step through this on the server... I've done it with Tomcat before." Well, yeah. Duh. It's so *ridiculously* simple to set up I'm kicking myself for not doing this over a year ago.

Simply go to the debug dialog box and add a new configuration under "Java Application" on the left, in the Main Class text box put "com.evermind.server.ApplicationServer", then in the Arguments tab, change the working directory below to the Orion directory. Finally, go to the Classpath tab and deselect the "use default classpath" checkbox, this will allow you to add an external Jar file, which will be orion.jar.

That's it. Hit "Apply" and then below click the debug button and Orion will start up within the context of Eclipse and you can step through your server-side code easily and instantly.

I can't believe what an ass I am for not doing this before. Urgh!

-Russ

Comment

Read: Debugging Orion Server in Eclipse

Topic: J2ME Becomes Number 1 on SmartPhones Previous Topic   Next Topic Topic: Motorola Redux

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use