Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. VS2008 Map files, this can't be this hard!

VS2008 Map files, this can't be this hard!

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    charlieg
    wrote on last edited by
    #1

    Maybe it's so close to me I just can't see it. I have an application of a little north of 100K of source. I need to determine how much static allocation is going on and from where. Traditionally, I would just ask for a map file where it would list all of this out. But the VS2008 map file is useless. Lots of data, no real information. Am I missing something? I need the section that shows me where static variables are being allocated. cg

    Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

    L 1 Reply Last reply
    0
    • C charlieg

      Maybe it's so close to me I just can't see it. I have an application of a little north of 100K of source. I need to determine how much static allocation is going on and from where. Traditionally, I would just ask for a map file where it would list all of this out. But the VS2008 map file is useless. Lots of data, no real information. Am I missing something? I need the section that shows me where static variables are being allocated. cg

      Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi Charlie, It's been a while since I've worked with the Debug Interface Access SDK[^] but I believe the Dia2dump Sample[^] will dump all of your allocated variables along with with size and location. Best Wishes, -David Delaune

      C 1 Reply Last reply
      0
      • L Lost User

        Hi Charlie, It's been a while since I've worked with the Debug Interface Access SDK[^] but I believe the Dia2dump Sample[^] will dump all of your allocated variables along with with size and location. Best Wishes, -David Delaune

        C Offline
        C Offline
        charlieg
        wrote on last edited by
        #3

        Oh if this works, Christmas has come early! I'll check it out. Thanks

        Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

        L 1 Reply Last reply
        0
        • C charlieg

          Oh if this works, Christmas has come early! I'll check it out. Thanks

          Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          charlieg wrote:

          Oh if this works, Christmas has come early! I'll check it out.

          You make it sound as if you are the only developer that has ever had this requirement. There are dozens of commercial and open source products that have the capability. List of performance analysis tools[^] Intel VTune is probably the easiest to use and has a lower learning curve. There is also a free trial version. Best Wishes, -David Delaune

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups