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