• Post Reply Bookmark Topic Watch Topic
  • New Topic

linenumber from compiled class  RSS feed

 
Stefan Geelen
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I use I profiler to investigate the memory usage of my classes.
The report shows linenumbers corresponding to some lines of code in the .class file.
I would like to know what code is behind the linenumber (I cannot look into my source because of the comments the linenumbers do not match).
How can I solve this ?
 
Abbas Alafoo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if this will solve your problem, but try it anyway.
Use a Java class decompiler (I use DJ Java Decompiler) to decompile your class file and see if it does match the correct line.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!