Skip to main content
Chris Rice
Associate III
August 20, 2019
Solved

What is the "debug" column in the MAP file?

  • August 20, 2019
  • 3 replies
  • 1612 views

I know this is a dumb question, but I've googled it and can't get an explanation. What is the "debug" column in the MAP file?

Also, it's alarmingly big... using Keil is there a setting I should use to compile without whatever is taking up that space? I don't see the typical debug/release config settings.

Thanks for the help.

==============================================================================
 
 
 Code (inc. data) RO Data RW Data ZI Data Debug 
 
 206256 18706 599208 7644 443828 3533745 Grand Totals
 206256 18706 599208 1628 443828 3533745 ELF Image Totals (compressed)
 206256 18706 599208 1628 0 0 ROM Totals

This topic has been closed for replies.
Best answer by waclawek.jan

It's stuff allowing the debugger e.g. to relate memory positions to variables, program counter to lines in the source etc.

Don't be alarmed, it's doesn't occupy a single bit on the mcu, it's all on the PC in the .elf file.

JW

3 replies

waclawek.jan
waclawek.janBest answer
Super User
August 20, 2019

It's stuff allowing the debugger e.g. to relate memory positions to variables, program counter to lines in the source etc.

Don't be alarmed, it's doesn't occupy a single bit on the mcu, it's all on the PC in the .elf file.

JW

Tesla DeLorean
Guru
August 20, 2019

There is a "Debug Information" check box in the Output options pane.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Chris Rice
Associate III
August 20, 2019

Thank you!