Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MyEclipse Vs. JBuilder Debugging Differences

 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Julie Chu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic