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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. obj/<name>.pdb problems

obj/<name>.pdb problems

Scheduled Pinned Locked Moved C#
helpcsharpvisual-studioquestionalgorithms
3 Posts 2 Posters 1 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.
  • A Offline
    A Offline
    Arch Stanton
    wrote on last edited by
    #1

    Hi gang! I've done some searching but can't seem to find what I'm looking for. I have a solution with roughly 30 projects (all C#) in it. Fairly often, perhaps every 5th or 10th debug build, I get errors in 1 to 3 of the projects that say that the /debug/obj/.pdb file is in use and the build couldn't complete. I cannot delete the file without shutting down VS, but once I do and restart, the projects build fine. In using VS.NET 2003 on W2K. Is there something causing this in what I'm doing? Is it an IDE bug? How can I fix it or efficiently circumvent it? I realize that this may not neatly fit into the C# newsgroup topic, but it seemed the best match. Any help would be greatly appreciated. Thanks! E

    L 1 Reply Last reply
    0
    • A Arch Stanton

      Hi gang! I've done some searching but can't seem to find what I'm looking for. I have a solution with roughly 30 projects (all C#) in it. Fairly often, perhaps every 5th or 10th debug build, I get errors in 1 to 3 of the projects that say that the /debug/obj/.pdb file is in use and the build couldn't complete. I cannot delete the file without shutting down VS, but once I do and restart, the projects build fine. In using VS.NET 2003 on W2K. Is there something causing this in what I'm doing? Is it an IDE bug? How can I fix it or efficiently circumvent it? I realize that this may not neatly fit into the C# newsgroup topic, but it seemed the best match. Any help would be greatly appreciated. Thanks! E

      L Offline
      L Offline
      LongRange Shooter
      wrote on last edited by
      #2

      Whenever I have had problems like this it is either because a) I have a debugger outside of VS that is running. b) I had run FXCop and that is still open. Something, somewhere, has that PDB file open which prevents VS from doing a File.Open with replace. _____________________________________________ Of all the senses I could possibly lose,
      It is most often the one called 'common' that gets lost.

      A 1 Reply Last reply
      0
      • L LongRange Shooter

        Whenever I have had problems like this it is either because a) I have a debugger outside of VS that is running. b) I had run FXCop and that is still open. Something, somewhere, has that PDB file open which prevents VS from doing a File.Open with replace. _____________________________________________ Of all the senses I could possibly lose,
        It is most often the one called 'common' that gets lost.

        A Offline
        A Offline
        Arch Stanton
        wrote on last edited by
        #3

        More info. This happens with code behind a Windows Form. When this problem arises, close all of the Windows Forms documents in the IDE and the file is released by whatever is holding it. Seems like a bug... Thanks for the reply, but I don't have FXCop and the above seems to negate 'a'. I'm puzzled.:confused: E

        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