Re: Question about debugging .class file
- From: Roedy Green <look-on@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 09:27:46 GMT
On Mon, 29 Aug 2005 02:18:23 GMT, "George George via JavaKB.com"
<forum@xxxxxxxxxx> wrote or quoted :
>When debugging a C or C++ binary file, the file is different from the release
>version of binary file (debug version binary file is larger). My question is,
>if we want to debug a Java binary file (.class file), is the version of file
>(which we use to debug) the same as the file (which we are going to release)?
>If they are different, shall we add some additional options to compiler in
>order to make debug version binary file be different from release version
>binary file?
The main choice is whether to use Java.exe in the JRE or the JDK. The
one in the JDK has extra debugging turned on.
There is also a Javac.exe switch -debug which adds extra stuff to the
class files.
The difference is not nearly so pronounced as in C++.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.
- Follow-Ups:
- Re: Question about debugging .class file
- From: George George via JavaKB.com
- Re: Question about debugging .class file
- References:
- Question about debugging .class file
- From: George George via JavaKB.com
- Question about debugging .class file
- Prev by Date: Re: Need tool that finds all types of a certain scope...
- Next by Date: Re: Problem with compiling files in a folder
- Previous by thread: Re: Question about debugging .class file
- Next by thread: Re: Question about debugging .class file
- Index(es):
Relevant Pages
|