Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2005

Tip: Looking for answers? Try searching our database.

Can anyone recommend a source for information on debug symbols?

Thread view: 
markscottwright - 19 Sep 2005 00:16 GMT
I'm curious how the jdk embeds debug symbols in .class files.  Can
anyone recommed a good resource for that, either on the web or in book
form?  Is there a standard API for determining things like "which ctor
is being called on line X, col Y of file Z.java?"
Thomas Hawtin - 19 Sep 2005 00:26 GMT
> I'm curious how the jdk embeds debug symbols in .class files.  Can
> anyone recommed a good resource for that, either on the web or in book

It's all in the JVM spec.

http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#79868

> form?  Is there a standard API for determining things like "which ctor
> is being called on line X, col Y of file Z.java?"

Not as far as I know. Editors tend to do that sort of thing without full
compilation. I'm sure it'd be quite easy to do from class files with,
say, ObjectWeb ASM.

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

Roedy Green - 19 Sep 2005 00:40 GMT
>I'm curious how the jdk embeds debug symbols in .class files.  Can
>anyone recommed a good resource for that, either on the web or in book
>form?  Is there a standard API for determining things like "which ctor
>is being called on line X, col Y of file Z.java?"

check out JPDA. It in an interface for people want to write source
code debuggers.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.