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. Visual Basic
  4. Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

Scheduled Pinned Locked Moved Visual Basic
debugginghelpcsharpcom
6 Posts 4 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.
  • K Offline
    K Offline
    Khatri Mitesh
    wrote on last edited by
    #1

    Hi When i try to break point (Debug) the vb.net program. then program not stop at the break point and when we move the cursor on break point it shows the following error "Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document" i also change the configuration setting to debug mode. but success is so far. Please suggest how i solve this problem Thanks

    ~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA

    S K 2 Replies Last reply
    0
    • K Khatri Mitesh

      Hi When i try to break point (Debug) the vb.net program. then program not stop at the break point and when we move the cursor on break point it shows the following error "Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document" i also change the configuration setting to debug mode. but success is so far. Please suggest how i solve this problem Thanks

      ~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA

      S Offline
      S Offline
      Simon P Stevens
      wrote on last edited by
      #2

      When you are debugging a program, the debugger (visual studio) needs to locate and load the matching symbol files (the .pdb files) for the specific version being debugged. It's possible that the .pdb files for some reason are getting mismatched. Perhaps there are some old .pdb files hanging around from an old build. Try deleting everything in the bin and obj directories of every project. This will cause all the projects to rebuild fully and regenerate their .pdb files. If this doesn't work, check the project settings to see if it's configured to generate symbol files. (Right click on the project->Properties->Build tab->Advanced->Output:Debug Info. Set to either full (for debug builds) or pdb only (for release builds).

      Simon

      A 1 Reply Last reply
      0
      • S Simon P Stevens

        When you are debugging a program, the debugger (visual studio) needs to locate and load the matching symbol files (the .pdb files) for the specific version being debugged. It's possible that the .pdb files for some reason are getting mismatched. Perhaps there are some old .pdb files hanging around from an old build. Try deleting everything in the bin and obj directories of every project. This will cause all the projects to rebuild fully and regenerate their .pdb files. If this doesn't work, check the project settings to see if it's configured to generate symbol files. (Right click on the project->Properties->Build tab->Advanced->Output:Debug Info. Set to either full (for debug builds) or pdb only (for release builds).

        Simon

        A Offline
        A Offline
        astanton1978
        wrote on last edited by
        #3

        If you are still unable to get that to work, you can right click on the breakpoint, choose locations, and enable the "allow code to be different" checkbox at the bottom. This will let you debug code when the deployed PDB/DLL doesnt match your debugger copy.

        J 1 Reply Last reply
        0
        • A astanton1978

          If you are still unable to get that to work, you can right click on the breakpoint, choose locations, and enable the "allow code to be different" checkbox at the bottom. This will let you debug code when the deployed PDB/DLL doesnt match your debugger copy.

          J Offline
          J Offline
          Jon_Boy
          wrote on last edited by
          #4

          Very nice tip astanton, didn't know that option was there.

          Any suggestions, ideas, or 'constructive criticism' are always welcome. "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

          A 1 Reply Last reply
          0
          • J Jon_Boy

            Very nice tip astanton, didn't know that option was there.

            Any suggestions, ideas, or 'constructive criticism' are always welcome. "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

            A Offline
            A Offline
            astanton1978
            wrote on last edited by
            #5

            Thanks, I used it all the time for debugging JS in asp.net apps until I found FF/firebug and IE8.

            1 Reply Last reply
            0
            • K Khatri Mitesh

              Hi When i try to break point (Debug) the vb.net program. then program not stop at the break point and when we move the cursor on break point it shows the following error "Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document" i also change the configuration setting to debug mode. but success is so far. Please suggest how i solve this problem Thanks

              ~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA

              K Offline
              K Offline
              Khatri Mitesh
              wrote on last edited by
              #6

              Thanks to All dear I try everything but Success is so far..... So Please suggest what i do.... bcoz i try all the suggesstions and i also search on google and msdn but.... no success. So plz gave me help! Thanx Khatri Mitesh

              ~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA

              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