Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes java debugging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

java debugging

Neha Kulkarni

Joined: Jan 13, 2010
Posts: 12
Hello folks

I am doing server side debugging, there is one application which i am executing and concurrently i have applied breakpoints in javacode, when the thread stops there it goes to class file of that java file but problem is line numbers are different. what i mean is if i have put debug point on 50th line of java code then in class file it shows somwhere near 40th line

is there any wat i can correct this, will i be shown comments in class file...why there are difference of line numbers in both the files

please help me urgently

thanks appreciate your inputs
Rob Spoor

Joined: Oct 27, 2005
Posts: 19541

Please Use One Thread Per Question. Let's stick with this one, shall we?

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: java debugging
Similar Threads
JProbe Error: Unable to instrument for line profiling
Server side debugging problem
Debugging code without sources
Eclipse debug not finding the code block