Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/27/05 13:25
Read: times


 
#93987 - Bartosz meant PC-style
Responding to: ???'s previous message
On PC (and other of the same class), the debug information is not a separate file, but is stored directly in the .exe (=binary).
Then, the debugger can display the "smart information" without knowing the internals of the compiler, until the debug info is in some common/standard form. This allows using compilers and debuggers of different brands.

The reason why exe files sometimes ARE distributed containing the debug info is, that if runtime error occurs at the customer, it could be possible to get and store quite a lot of valuable information to facilitate discovering of the reason of the error. (I think many of us know the "no error at my workbench, just when at the customer" syndrome).

Of course, with '51 (or any other mcu) it's a completely different story.

Jan Waclawek

List of 10 messages in thread
TopicAuthorDate
how to convert machine code back to c ?            01/01/70 00:00      
   Making sausage            01/01/70 00:00      
      Worse than that.            01/01/70 00:00      
   even worse than that            01/01/70 00:00      
   asm-to-C compiler            01/01/70 00:00      
   Debug Symbols.            01/01/70 00:00      
      AFAIK you are confoosed            01/01/70 00:00      
         Bartosz meant PC-style            01/01/70 00:00      
            Bartosz meant PC-style            01/01/70 00:00      
               the excuse            01/01/70 00:00      

Back to Subject List