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. Which files belong into the debug directory ?

Which files belong into the debug directory ?

Scheduled Pinned Locked Moved C / C++ / MFC
questioncomdebugginghelpdiscussion
2 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.
  • B Offline
    B Offline
    Bernhard
    wrote on last edited by
    #1

    We are using VC6 and we use some common libraries on a shared path (both static libraries and Dlls with static linkage). Normally i'd just leave the *.lib and *.dll file in the debug directory. I was able to build everything with that, but when I wanted to debug into the library, I had to rebuild the library. Obviously some files were missing. Can anybody tell all the files which belong in the debug directory ? Are there any files in the release directory, which should be in there ? (except *.lib and / or *.dll) (End of short question) Some of my thoughts: I think I should leave all the *.pdb files in there. But do I need the *.exp files ? What about the *.obj, *.sbr, *.res, *.pch files ? Do I need them to debug ? Any help is appreciated ! Bernhard


    All the label says is that this stuff contains chemicals "... known to the State of California to cause cancer in rats and low-income test subjects."
    Roger Wright
    http://www.codeproject.com/lounge.asp?select=965687&exp=5&fr=1#xx965687xx

    B 1 Reply Last reply
    0
    • B Bernhard

      We are using VC6 and we use some common libraries on a shared path (both static libraries and Dlls with static linkage). Normally i'd just leave the *.lib and *.dll file in the debug directory. I was able to build everything with that, but when I wanted to debug into the library, I had to rebuild the library. Obviously some files were missing. Can anybody tell all the files which belong in the debug directory ? Are there any files in the release directory, which should be in there ? (except *.lib and / or *.dll) (End of short question) Some of my thoughts: I think I should leave all the *.pdb files in there. But do I need the *.exp files ? What about the *.obj, *.sbr, *.res, *.pch files ? Do I need them to debug ? Any help is appreciated ! Bernhard


      All the label says is that this stuff contains chemicals "... known to the State of California to cause cancer in rats and low-income test subjects."
      Roger Wright
      http://www.codeproject.com/lounge.asp?select=965687&exp=5&fr=1#xx965687xx

      B Offline
      B Offline
      Blake Miller
      wrote on last edited by
      #2

      You should be able to debug a DLL or EXE posessing the soure code files, the PDB and the DLL or EXE files. Others you mentioned are intermediate files used during compile or link. People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks

      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