• 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

Not able to do debug in jboss-4.2.3.GA

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

Earlier I used jboss-4.0.4.GA for my application. And for remote debugging I used the below commmand in run.bat file.


It went fine.I am able to debug.

Now I upgraded my server to jboss-4.2.3.GA.And if I use the same cammand for remote debugging,it's not working.
I am using jdk1.5.0_15 and JBossIDE for Eclipse Version: 2.0.0.

Please let me know how can I do debug in jboss-4.2.3.GA.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If should work in the same way (debugging is a capability of the JVM, the version of JBoss AS does not matter).

When you tried to do your debugging, what problems did you run into, or what are your symptoms?
 
Durga Krishna
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,

Generally when I do debug, I will able to see my eclipse gets activated and if I have a break point in my code, the control comes to that point and shows green line. After that I will able to do debug line by line manually by pressing F6 key.

But now, in my case, all this is not happening. My eclipse is not getting activated,control not waiting at the break point.

Please suggest me a solution.

Thanks in Advance.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Durga Krishna wrote:

But now, in my case, all this is not happening. My eclipse is not getting activated,control not waiting at the break point.



Eclipse wont automatically get "activated" when the server starts in debug mode. You will have to launch Eclipse in debug mode when the server starts so that it can connect to the JBoss server. Have you done that?
 
Durga Krishna
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jaikiran,

I know I have to launch eclipse. I did that.
I mentioned port as 8787 in eclipse debug option.I choose the project.
I start debug.My eclipse perspective is changing to debug mode.
But it is not coming to my break point.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%

I think you need to change suspend=n to suspend=y. This stops JBoss from starting up (I think) until you've launched your eclipse debug.
 
reply
    Bookmark Topic Watch Topic
  • New Topic