jQuery in Action, 2nd edition*
The moose likes IDEs, Version Control and other tools and the fly likes MyEclipse Vs. JBuilder Debugging Differences Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "MyEclipse Vs. JBuilder Debugging Differences" Watch "MyEclipse Vs. JBuilder Debugging Differences" New topic
Author

MyEclipse Vs. JBuilder Debugging Differences

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1043
Hi all,

I'm debating on moving to MyEclipse due to its apparent ease of debugging JSPS and Servlets locally. With JBUilder 7 Enterprise, I was never able to figure out how to debug locally (other than System.out.println to the Tomcat logs).

Can anyone recommend MyEclipse over JBuilder or suggest how to make the local debugging work in JBuilder 7 Ent.?

Thanks in advance.

- Mike
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

debug locally, what do you mean by that. From reading your post, it appeared that you want to debug the code that is running on the server side.

In general you can debug everything. If it is truely local, running from the IDE, then just add a breakpoint. If it is on the server, you just have to set up the server to allow for connections to the JVM, and then the IDE can attach to the servers JVM, and then you just set a breakpoint in server side code in the IDE.

All IDEs should do both.

If you need information on setting up the server to allow for JVM connection, then go to the Remote Debugging article in Augusts JavaRanch newsletter. It shows how to set it up in IDEA and info for Eclipse.

Article here

Hope that helps.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Julie Chu
Greenhorn

Joined: Jan 03, 2005
Posts: 4
Hi Mark,

I just registered the JavaRanch due to seeing the posts by Mike London on Dec. 8, 04 and your reply to his question regarding to the topic of MyEclipse Vs. JBuilder Debugging Differences that is the problem of debugging locally with JBuilder. I think I am having the almost same problem but I am using JBuilder X Foundation as the IDE. The secnario is this, I opened a java file from our Unix server, I tried to compile/build the file, and tons of error messgaes showed up due to the JBuilder is compling the file in terms of my local drive environment. So our IT department decided to let me use the remote debugging unit together with JBuilder X as the resolution to the error messages. I think this is what Mike London was talking about. Does your reply to Mike's question work on mine since I am not using IDEA nor Eclipse?

I am not a Java programmer, hopefully that I am making myself any senses...

Thanks very much and Happy New Year(with a queer question... :-)) !

Julie
Julie Chu
Greenhorn

Joined: Jan 03, 2005
Posts: 4
I need to add something about my previous post to the thread...

My IT dept at work has set up the remote debugging unit, and I have to do things for the client side. Your solution is to set up the server to allow for connections to the JVM, and then the IDE can attach to the servers JVM, and then developers just set a breakpoint in server side code in the IDE. So according to your solution, there is nothing I need to do, right? since the remote debugger is set up already...

Thanks,
Julie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MyEclipse Vs. JBuilder Debugging Differences
 
Similar Threads
JBuilder Remote Debugging
Remote debugging using Eclipse
Debugging in JBuilder
JBuilder to MyEclipse project?
how make petstore work in Jbuilder?