Re: Question about debugging .class file
- From: "George George via JavaKB.com" <forum@xxxxxxxxxx>
- Date: Tue, 30 Aug 2005 02:35:15 GMT
Thanks Thomas,
Thomas Hawtin wrote:
>> Suppose we want to debug a .class file, we will compile it into debug status
>> (so that we can use F6, F7 and F8 in Java IDE to debug .class file). Do you
>> mean the .class file (which we use to debug as mentioned above) is different
>> from (larger than) the file which we are going to release?
>
>A class file with debugging information will be larger than one without.
>But you can distribute class files with debugging information.
>
>> What do you mean "light compilation from source to byte code"?
>
>Java byte code is not like machine code. It's quite high level. The main
>difference between .java and .class files is that the latter is a binary
>format. It doesn't go in for heavy optimisation or lossy transformations
>like C++ compilers do.
>
>Tom Hawtin
Your reply is very helpful.
regards,
George
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-setup/200508/1
.
- References:
- Question about debugging .class file
- From: George George via JavaKB.com
- Re: Question about debugging .class file
- From: Thomas Hawtin
- Re: Question about debugging .class file
- From: George George via JavaKB.com
- Re: Question about debugging .class file
- From: Thomas Hawtin
- Question about debugging .class file
- Prev by Date: Good books for a complete beginner!
- Next by Date: nested enum
- Previous by thread: Re: Question about debugging .class file
- Next by thread: Re: Question about debugging .class file
- Index(es):
Relevant Pages
|