This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: debugging info while parsing java files


>>>>> "Sergiy" == Sergiy P Zhenochin <serega@ics.uci.edu> writes:

Sergiy> Is it possible to get debugging info from the parser when gcs
Sergiy> parses .java files? Seems not, just making sure.

Yes, just compile with -g (just like with gcc).
gdb can read this information fairly well.  gdb's Java support isn't
as good as its support for other languages, and presently it has a few
more notable problems, but overall it is adequate for debugging.

Does this answer your question?

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]