Re: Question about debugging .class file



Thanks Roedy,


Roedy Green wrote:
>>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,
>[quoted text clipped - 3 lines]
>>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++.
>

So, no matter what methods are used (Java.exe or Javac.exe), the debug
version binary file is always different from release (non-debug) version
binary file. Am I correct?


regards,
George


--
Message posted via http://www.javakb.com
.



Relevant Pages

  • Re: Question about debugging .class file
    ... Thomas Hawtin wrote: ... >> version of binary file (debug version binary file is larger). ... What do you mean "light compilation from source to byte code"? ...
    (comp.lang.java.help)
  • Re: Question about debugging .class file
    ... George George via JavaKB.com wrote: ... version of binary file. ... My question is, if we want to debug a Java binary file, is the version of file the same as the file? ... For both ye olde C++ on a floppy and Java applet I have come into a company and shrunk the binary considerably by switching off the default debug info. ...
    (comp.lang.java.help)
  • Re: Question about debugging .class file
    ... >version binary file is always different from release version ... it will strip the debug stuff. ... library code bound into the class file. ... http://mindprod.com Again taking new Java programming contracts. ...
    (comp.lang.java.help)
  • [PATCH 4/4] ide-disk: fix issues found by checkpatch.pl
    ... There are no changes to the resulting drivers/ide/ide-disk.o binary file ... -//#define DEBUG ... static int proc_idedisk_read_capacity ... ide_task_t args; ...
    (Linux-Kernel)
  • Re: Question about debugging .class file
    ... >version of binary file (debug version binary file is larger). ... The main choice is whether to use Java.exe in the JRE or the JDK. ... one in the JDK has extra debugging turned on. ...
    (comp.lang.java.help)