MAP files and lines number information
-
Hi, How do I generate line number information in the MAP files for C++/VC++ projects? I am using Visual C++ 2005 and could not find any option to generate such information. VC++ 6.0 had an option for generating line number information in the MAP file. This option is present on C++ tab, Debug info drop-down in VC++ 6.0 Thanks and Regards.
-
Hi, How do I generate line number information in the MAP files for C++/VC++ projects? I am using Visual C++ 2005 and could not find any option to generate such information. VC++ 6.0 had an option for generating line number information in the MAP file. This option is present on C++ tab, Debug info drop-down in VC++ 6.0 Thanks and Regards.
It looks like the /MAPINFO:LINES linker option has been removed starting with VS 2005. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hi, How do I generate line number information in the MAP files for C++/VC++ projects? I am using Visual C++ 2005 and could not find any option to generate such information. VC++ 6.0 had an option for generating line number information in the MAP file. This option is present on C++ tab, Debug info drop-down in VC++ 6.0 Thanks and Regards.
May I ask what you need the MAP file for? Many people are under the mistaken impression that to debug a release build you need a MAP file, whereas in reality you can just enable debug information in your release build and use your debugger (almost) as per normal.
Steve
-
May I ask what you need the MAP file for? Many people are under the mistaken impression that to debug a release build you need a MAP file, whereas in reality you can just enable debug information in your release build and use your debugger (almost) as per normal.
Steve
Every now and then when I am looking at crash dumps from the field.... if the debugger's not helping (using a PDB), sometimes the map has a clue.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [SoonR Inc -- PC Power delivered to your phone](http://www.soonr.com)
-
May I ask what you need the MAP file for? Many people are under the mistaken impression that to debug a release build you need a MAP file, whereas in reality you can just enable debug information in your release build and use your debugger (almost) as per normal.
Steve
Map files does have information at times which can be useful. More over I receive a screen shot from customers or beta testers which has just offset information. Using map files and line number information is sometimes easier to locate the crash location as discussed in some of the articles on this site.