• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why debugging cursor is not connecting to the application?

 
Thummalashankar Reddy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am using Eclipse3.0,Weblogic8.1,JDK14.
I am unable to enter in to application through debugg mode.
I setted the source as my project in Projects->properties->BuildPath->Source
And I deactivated the skip all break points options also.

Why the debug cursor is not connecting to the application could you please help me..
 
Thummalashankar Reddy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I used the remote configuration for debugging purpose.Which the people mentioned in the Javaranch.com..But i am getting some exception:

Failed to connect to remote VM.Connection refused
 
Karan Rajan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I used the remote configuration for debugging purpose.Which the people mentioned in the Javaranch.com..But i am getting some exception:

Failed to connect to remote VM.Connection refused


So I am assuming this is what you did ..

Run > Debug > Remote Java Application > New ...

I risk sounding silly, but .. did you also make the relevant changes to your startWeblogic.cmd(sh) and double-check the Connection Properties like the port numbers etc.
 
Thummalashankar Reddy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am using local debugging now the debugging cursor is appearing but it is pointing to URLClassLoader.class file..That means before starting server console it is connecting the debugging mode.

Could you please explain

Thanks
T. Shankar Reddy
 
Thummalashankar Reddy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

Now i am able to do debugging locally .But i am unable to know the values of the variables which are available in the classes.Every time i am getting values of the variable as "cannot be resolved" even though it has some value.
Could you please explain this

Thanks
T.Shankar Reddy
 
M Easter
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would check the classpath. I have had strange issues in the past where there were multiple instances of a given class in the classpath.

e.g. In Tomcat, I once had classes in ~/WEB-INF/lib/abc.jar and in ~/WEB-INF/classes. Eclipse didn't like it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic