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#
  4. Error loading Symbols while trying to debug winform app.

Error loading Symbols while trying to debug winform app.

Scheduled Pinned Locked Moved C#
visual-studiocsharpdebugginghelpc++
6 Posts 3 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.
  • A Offline
    A Offline
    abcxyz82
    wrote on last edited by
    #1

    am building winform application, having two projects one is classLib and other is WinForm. My application was working fine. Its in sourcesafe. Suddenly today when i tried to debug my app with F5, it started giving me error. Here's the content of output window when I hit F5 to debug my app: '.NET': Loaded 'D:\WINDOWS\assembly\GAC_32\mscorlib\2.0.3600.0__b77a5c561934e089\mscorlib.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\vshostutil\8.0.1200.0__b03f5f7f11d50a3a\vshostutil.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.3600.0__b77a5c561934e089\System.Windows.Forms.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System\2.0.3600.0__b77a5c561934e089\System.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.3600.0__b03f5f7f11d50a3a\System.Drawing.dll', No symbols loaded. '.NET': Loaded 'D:\Documents and Settings\maulik\My Documents\Visual Studio\Projects\<$$Myproject$$>\bin\Debug\<$$Myproject$$>.vshost.exe', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_32\System.Data\2.0.3600.0__b77a5c561934e089\System.Data.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Web\2.0.3600.0__b03f5f7f11d50a3a\System.Web.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.3600.0__b77a5c561934e089\System.Xml.dll', No symbols loaded. The thread '' (0xd0c) has exited with code 0 (0x0). The thread 0x15bc has exited with code 0 (0x0). '.NET': Loaded 'D:\Documents and Settings\maulik\My Documents\Visual Studio\Projects\<$$Myproject$$>\bin\Debug\<$$Myproject$$>.dll', No symbols loaded. **A first chance exception of type 'System.NullReferenceException' occurred in vshostutil.dll,** When I hit F5(Debug-Active configuration) it opens property page with title - Disassembly showing native code in VS.NET IDE and pops up Nullreference exception unhandled...I have placed breakpoint in first line of Main() but its not stopping there, indicating "Breakpoints will not currently be not hit, No symbols have been loaded for this document." Any help will greatly be appriciated..... REgards, MaulikCE.

    D 1 Reply Last reply
    0
    • A abcxyz82

      am building winform application, having two projects one is classLib and other is WinForm. My application was working fine. Its in sourcesafe. Suddenly today when i tried to debug my app with F5, it started giving me error. Here's the content of output window when I hit F5 to debug my app: '.NET': Loaded 'D:\WINDOWS\assembly\GAC_32\mscorlib\2.0.3600.0__b77a5c561934e089\mscorlib.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\vshostutil\8.0.1200.0__b03f5f7f11d50a3a\vshostutil.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.3600.0__b77a5c561934e089\System.Windows.Forms.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System\2.0.3600.0__b77a5c561934e089\System.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.3600.0__b03f5f7f11d50a3a\System.Drawing.dll', No symbols loaded. '.NET': Loaded 'D:\Documents and Settings\maulik\My Documents\Visual Studio\Projects\<$$Myproject$$>\bin\Debug\<$$Myproject$$>.vshost.exe', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_32\System.Data\2.0.3600.0__b77a5c561934e089\System.Data.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Web\2.0.3600.0__b03f5f7f11d50a3a\System.Web.dll', No symbols loaded. '.NET': Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.3600.0__b77a5c561934e089\System.Xml.dll', No symbols loaded. The thread '' (0xd0c) has exited with code 0 (0x0). The thread 0x15bc has exited with code 0 (0x0). '.NET': Loaded 'D:\Documents and Settings\maulik\My Documents\Visual Studio\Projects\<$$Myproject$$>\bin\Debug\<$$Myproject$$>.dll', No symbols loaded. **A first chance exception of type 'System.NullReferenceException' occurred in vshostutil.dll,** When I hit F5(Debug-Active configuration) it opens property page with title - Disassembly showing native code in VS.NET IDE and pops up Nullreference exception unhandled...I have placed breakpoint in first line of Main() but its not stopping there, indicating "Breakpoints will not currently be not hit, No symbols have been loaded for this document." Any help will greatly be appriciated..... REgards, MaulikCE.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      I think I had this happen about a month ago. Try "Clean Solution" under the Build menu, then rebuild it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        I think I had this happen about a month ago. Try "Clean Solution" under the Build menu, then rebuild it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

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

        Thanks Dave, No luck with Clean Solution, still getting NullReferenceException popup...Disassembly property page at address "VSHostUtil.HostProc.GetEntryPointAptThreadState" Can you jus give a little strain to your brain to recall what you did to overcome the problem.

        J D 2 Replies Last reply
        0
        • A abcxyz82

          Thanks Dave, No luck with Clean Solution, still getting NullReferenceException popup...Disassembly property page at address "VSHostUtil.HostProc.GetEntryPointAptThreadState" Can you jus give a little strain to your brain to recall what you did to overcome the problem.

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

          Tried a reboot?

          A 1 Reply Last reply
          0
          • A abcxyz82

            Thanks Dave, No luck with Clean Solution, still getting NullReferenceException popup...Disassembly property page at address "VSHostUtil.HostProc.GetEntryPointAptThreadState" Can you jus give a little strain to your brain to recall what you did to overcome the problem.

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            I had a problem with the symbols not being loaded correctly, not the NullReferenceException. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            1 Reply Last reply
            0
            • J J4amieC

              Tried a reboot?

              A Offline
              A Offline
              abcxyz82
              wrote on last edited by
              #6

              Yes, Rebooted. Problem has yet not been resolved, anything else would you like me to try?

              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