Re: Question about debugging .class file



On Wed, 31 Aug 2005 02:21:17 GMT, "George George via JavaKB.com"
<forum@xxxxxxxxxx> wrote or quoted :

>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?

If you use an obfuscator, it will strip the debug stuff. But yes, if
you compile with the debug option, there will be debug code added.
Whether it is USED depends on the Java.exe settings.

As I said earlier, debug in C++ can be more than ten times fatter. You
won't notice a big difference in Java, partly because there is no
library code bound into the class file.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



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)
  • [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. ... So, no matter what methods are used, the debug ...
    (comp.lang.java.help)
  • 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)