• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MyEclipse Vs. JBuilder Debugging Differences

 
Bartender
Posts: 1971
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic