Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>I have recently install VS 2005 Pro and I cannot get breakpoints to work properly in my C++ Win32 application.  After compiling for Debug and placing a breakpoint, when I run my program the breakpoint indicator becomes a hollow circle with an exclamation point and I see the above message when I hover over it.</p> <p>This makes no sense to me because I have verified the following:</p> <p>1.  Yes, I have compiled for Debug.</p> <p>2.  Output for my program indicates that &quot;Symbols loaded&quot;.</p> <p>3.  I see the .pdb file in my \&lt;project&gt;\debug\ folder with the correct build date/time.</p> <p>Curiously, I have created other new projects under VS 2005 that seem to work fine.  The broken one has been ported from VS 2003 and now resides in a new directory.  When I compare the other project and solution debug property settings (that work) with the broken one, I see no significant differences.  The one red flag that I see is that the other projects all contain a file named &quot;vc80.pdb&quot; in the <u>project's</u> debug folder in addition to a &lt;project name&gt;.pdb file in the <u>solution's</u> debug folder (I am not sure why both the solution and the project get a debug folder).</p> <p>I have seen some online discussion about needing to delete some cache files to fix this problem, but I do not find these files on my machine.</p> <p>Is anyone aware of this problem and a quick fix for it?</p>© 2009 Microsoft Corporation. All rights reserved.Fri, 18 Sep 2009 14:16:53 Zc8b42ef2-e7de-4b23-859b-73c90ca9622chttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#c8b42ef2-e7de-4b23-859b-73c90ca9622chttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#c8b42ef2-e7de-4b23-859b-73c90ca9622cAaron Lhttp://social.msdn.microsoft.com/Profile/en-US/?user=Aaron%20LDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>I have recently install VS 2005 Pro and I cannot get breakpoints to work properly in my C++ Win32 application.  After compiling for Debug and placing a breakpoint, when I run my program the breakpoint indicator becomes a hollow circle with an exclamation point and I see the above message when I hover over it.</p> <p>This makes no sense to me because I have verified the following:</p> <p>1.  Yes, I have compiled for Debug.</p> <p>2.  Output for my program indicates that &quot;Symbols loaded&quot;.</p> <p>3.  I see the .pdb file in my \&lt;project&gt;\debug\ folder with the correct build date/time.</p> <p>Curiously, I have created other new projects under VS 2005 that seem to work fine.  The broken one has been ported from VS 2003 and now resides in a new directory.  When I compare the other project and solution debug property settings (that work) with the broken one, I see no significant differences.  The one red flag that I see is that the other projects all contain a file named &quot;vc80.pdb&quot; in the <u>project's</u> debug folder in addition to a &lt;project name&gt;.pdb file in the <u>solution's</u> debug folder (I am not sure why both the solution and the project get a debug folder).</p> <p>I have seen some online discussion about needing to delete some cache files to fix this problem, but I do not find these files on my machine.</p> <p>Is anyone aware of this problem and a quick fix for it?</p>Tue, 14 Feb 2006 15:08:09 Z2006-02-17T20:30:30Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#b0dcfd69-45f0-4b2a-a80b-493ff8743a95http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#b0dcfd69-45f0-4b2a-a80b-493ff8743a95Tom Serfacehttp://social.msdn.microsoft.com/Profile/en-US/?user=Tom%20SerfaceDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>Have you tried deleting the .pcb, .ncb, and .pch files and then totally rebuilding the project?  It could be that some of the colored names of routines are not right in a library or .obj file and what you're seeing is the result of the debugging thinking the routine is not part of the code space.</p> <p>Tom</p>Tue, 14 Feb 2006 15:24:06 Z2006-02-14T15:24:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#be1c9030-ca4d-4315-bdac-31045a132c29http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#be1c9030-ca4d-4315-bdac-31045a132c29Aaron Lhttp://social.msdn.microsoft.com/Profile/en-US/?user=Aaron%20LDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>I just tried deleting all .pdb, .ncb, .pch files after completely exiting VS 2005.  Then I restarted it and &quot;cleaned&quot; both the project and the solution before I rebuilt the project and the solution for debug (just to be thorough).</p> <p>None of which seemed to make any difference.  It creates new copies of the &lt;project&gt;.pdb and the &lt;solution&gt;.ncb, but it doesn't seem to matter - I still can't get it to stop on any of my breakpoints.</p>Tue, 14 Feb 2006 16:21:40 Z2006-02-14T16:21:40Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#0360dc68-b500-4acc-ae93-828b8404bebahttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#0360dc68-b500-4acc-ae93-828b8404bebaTom Serfacehttp://social.msdn.microsoft.com/Profile/en-US/?user=Tom%20SerfaceDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>Hi Aaron,</p> <p>Just going through the list trying to figure out something that will make it work.  A couple more questions...</p> <p>1) Do all break points fail or are you trying to do one in a library?  I'm assuming this is true for all break points, but I didn't read that in the first note.</p> <p>2) When you said &quot;cleaned&quot; did you delete the Debug folder completely?  VS 2005 will, of course, recreate it.</p> <p>3) Are you sure you're looking at the righ output .EXE (I know, dumb question, but...)</p> <p>There is obvioulsy something confusing it.  When you get the red circles it means that the debugger thinks you are setting a break point outside of code you would actually get to while running the program (I.E., a library that is not loaded).  You sometimes see this at runtime until a certain DLL loads while loading the program, etc. or in a library where the code was not linked in correctly or the user sets the break point in the wrong source tree or something like that.</p> <p>One more thing.  You might try doing a Clear All Breakpoints just to make sure that there is not anything set that carried over from the old code.  I can't see how there could be at this point since you deleted all the files, but like I said I'm just trying to come up with things to try.  It's probably something dumb that we're just missing.</p> <p>Tom</p>Tue, 14 Feb 2006 16:49:55 Z2006-02-14T16:49:55Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#897c7f8c-80c9-427a-b611-ef82d58deb83http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#897c7f8c-80c9-427a-b611-ef82d58deb83Aaron Lhttp://social.msdn.microsoft.com/Profile/en-US/?user=Aaron%20LDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>Hello Tom,</p> <p>Thanks for showing an interest in my problem.  To answer your questions:</p> <p>1. No, the breakpoints that I am trying are all located in my source (.cpp) files.  I have tried several different sources - all seem to exhibit the same behavior. </p> <p>2. I ran the &quot;Build&quot; menu &quot;Clean&quot; for both the Solution and the Project.  At one point I did also delete my Project's Debug directory and let it recreate everything - no difference.</p> <p>3. Not a dumb question - I wondered about that several times, but all seems correct.  I see the name of my .exe in the Output list and it says &quot;Symbols loaded&quot;.</p> <p>Upon your suggestion, I did try &quot;deleting all breakpoints&quot; and resetting just one - that did not work either.  At this point I am convinced that it is something more fundamental to the fact that this is a converted project and for some reason never generates this new vc80.pdb file.  Do you find an associated &quot;vc80.pdb&quot; file with each of your projects?</p>Tue, 14 Feb 2006 19:44:54 Z2006-02-14T19:44:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#09574b2c-f399-4a86-ae72-e717cdf7bec5http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#09574b2c-f399-4a86-ae72-e717cdf7bec5Aaron Lhttp://social.msdn.microsoft.com/Profile/en-US/?user=Aaron%20LDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<table cellspacing=0 cellpadding=0 width="90%" align=left> <tbody> <tr> <td class=txt4lt style="word-wrap:break-word" width=625><span>I am not sure how I have missed this for so long, but here is the answer to my problem.  The Project/Properties/C++/General/Debug Information Format setting was set to &quot;Disabled&quot;.  Changing this setting to &quot;Program Database for Edit &amp; Continue (/ZI)&quot; fixes my problem. </span><br></td></tr></tbody></table>Fri, 17 Feb 2006 20:30:14 Z2007-05-31T19:00:29Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#b024521f-e9c9-4355-997c-be293aa188c3http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#b024521f-e9c9-4355-997c-be293aa188c3DustinBreesehttp://social.msdn.microsoft.com/Profile/en-US/?user=DustinBreeseDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."This article kept popping up for me while searching for an answer, but I found a different solution after many, many hours of troubleshooting.  Thought I'd share my info in case someone else finds it useful...<br><br>The way it finally worked for me -- When I go to Debug-&gt;&quot;Attach to Process&quot;, there is an option to select the &quot;ATTACH TO:&quot; code types.  You have to click the SELECT... button and make sure SCRIPT CODE is selected.  Now, my breakpoints are activated.<br><br>Might have to play with these types to get it to work as you want it to.<br><br>-Dustin<br>Thu, 02 Mar 2006 22:27:57 Z2006-03-02T22:27:57Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#ccd7973c-0f4b-4ab4-8994-3ad5b107f713http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#ccd7973c-0f4b-4ab4-8994-3ad5b107f713ferchuzhttp://social.msdn.microsoft.com/Profile/en-US/?user=ferchuzDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>the problem is that you missed 1 or more references between your projects or dlls.</p> <p>Try creating a reference from the class with problem to the ejecution thread...</p> <p> </p> <p> </p>Mon, 13 Mar 2006 13:40:48 Z2006-03-13T13:40:48Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#196e937c-7b6e-4521-ad40-9c9f686ac5dfhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#196e937c-7b6e-4521-ad40-9c9f686ac5dfEd DeGagnehttp://social.msdn.microsoft.com/Profile/en-US/?user=Ed%20DeGagneDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."I have had similiar behaviour trying to debug a large solution with 28 projects in it (one of them being a web project).<br><br>Clicking on &quot;Select...&quot; when attaching to a process and selecting both Managed and Native seemed to have cleared it up for our situation.<br>Tue, 14 Mar 2006 20:04:55 Z2006-03-14T20:04:55Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#15f527b2-3441-4a1d-a0ad-15772c27afe3http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#15f527b2-3441-4a1d-a0ad-15772c27afe3Chris D Joneshttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris%20D%20JonesDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>This does not work for me.</p> <p>I have a VB 2005 program (upgraded from VB6). It was working in debug, but now I get the message in the subject and whatever I do, I cannot now debug this program.</p> <p>Can anyone here help me to resolve this?</p>Wed, 12 Apr 2006 20:29:21 Z2006-04-12T20:29:21Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#f08debcc-ab0c-4dab-a9f7-ae6c773c977bhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#f08debcc-ab0c-4dab-a9f7-ae6c773c977bOmid_http://social.msdn.microsoft.com/Profile/en-US/?user=Omid_Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."Thanks. That helped me as well. However, for me I did not choose the &quot;/ZI&quot; option, since that gave me error, but the &quot;/Zi&quot; option worked for me.<br>Wed, 19 Apr 2006 21:35:02 Z2006-04-19T21:35:02Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#5cc51e2b-4e2f-46f6-b31c-c5b82ac970f0http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#5cc51e2b-4e2f-46f6-b31c-c5b82ac970f0francoisLhttp://social.msdn.microsoft.com/Profile/en-US/?user=francoisLDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>Same problem you described in detail But I already have &lt;... /ZI&gt; so your solution does not work for me. Anybody at microsoft could describe the requirements to make a debuggable project??</p>Sat, 03 Jun 2006 12:42:17 Z2006-06-03T12:42:17Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#72ade8f7-99f9-4cf7-8112-4b1200e39778http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#72ade8f7-99f9-4cf7-8112-4b1200e39778jwizehttp://social.msdn.microsoft.com/Profile/en-US/?user=jwizeDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."I just thought I would add this insight to help any others that might have encountered my problem. I am working on a mixed solution where my startup project is a managed project. I had the same problem as above. I was able to get my breakpoints to get hit(unmanaged dll breakpoints) by adding the checkbox enable unmanaged debugging, from the managed project.Thu, 09 Nov 2006 11:05:43 Z2006-11-09T11:05:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#9246481b-d370-4d35-9abf-e120c4b4f6fbhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#9246481b-d370-4d35-9abf-e120c4b4f6fbCaleb Simhttp://social.msdn.microsoft.com/Profile/en-US/?user=Caleb%20SimDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."I was able to clear the &quot;the breakpoint will not currently be hit...&quot; message on the breakpoints by enabling unmanaged debugging and setting &quot;attach to&quot; to Script code. However, I am still unable to trace my code from the breakpoints - I still haven't hit the breakpoints! But atleast I am happy I am not getting the annoying message anymore.Wed, 15 Nov 2006 07:55:36 Z2006-11-15T07:55:36Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#7e41d217-d7a1-4f7c-91d3-97677a6886aehttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#7e41d217-d7a1-4f7c-91d3-97677a6886aeNithi Govinhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nithi%20GovinDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>Hi there,</p> <p>Now using 2003 (back to 03..from 05) after a long time.<br><br>I too get the same problem. I've deleted .pdb files, did a rebuild. But stil this annoying message is there..In the configuration, debug is enabled for unmanaged code.</p> <p>Any other workaround..</p> <p><br>Regds, </p> <p>Nithi</p> <p> </p> <p> </p>Mon, 20 Nov 2006 03:19:15 Z2006-11-20T03:19:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#3a598cbe-90f0-4db2-8db1-e2000c599199http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#3a598cbe-90f0-4db2-8db1-e2000c599199Badestrandhttp://social.msdn.microsoft.com/Profile/en-US/?user=BadestrandDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."I just had the same problem and tried to solve it with the suggestions above; needless to say, it didn't work <img height=19 alt=Smile src="http://forums.microsoft.com/MSDN/emoticons/emotion-1.gif" width=19><br>Finally now I got it, somehow the solution was pretty easy and obvoius^^<br>I clicked  <i>Properties</i> (for this project)-&gt;<i>Linker</i>-&gt;<i>Debugging</i>-&gt;<i>Generate Debug info</i>, switch it to &quot;yes&quot;..<br><br>So I really don't know why this isn't preset, but it solved my problem 8)<br>Fri, 06 Apr 2007 13:59:27 Z2007-04-06T13:59:27Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#dd7e3234-295b-413b-a594-8ed9cd75e9e9http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#dd7e3234-295b-413b-a594-8ed9cd75e9e9Jesper Hoejgaardhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jesper%20HoejgaardDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."In my case, the Configuration Manager had overwritten the Debug configuration with the Release configuration.<br>Got it working by<br> <ul> <li>In 'C/C++-&gt;General: Set 'Debug Information Format' to /ZI, and disable optimization <li>In 'C/C++-&gt;Code Generation: Set Runtime Lib to Multi Threaded Debug <li>In 'Linker-&gt;Debugging': Set Generate Debug Info to Yes</li></ul><br>Seems like a bug in VS2005 to me...<br>Sat, 05 May 2007 02:05:13 Z2007-05-05T02:05:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#3da2ed1b-557c-44c5-a2fb-a397920dbc2bhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#3da2ed1b-557c-44c5-a2fb-a397920dbc2bKiwsahttp://social.msdn.microsoft.com/Profile/en-US/?user=KiwsaDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document." running VS2k5 I have solved this problem for myself after hours of hair tearing and cursing.  I had set my build configuration to &quot;release&quot; to create an install for a client.  He reported bugs (of course...he whos first release is bug free cast the first stone...) and when I returned to the project to debug the portion he was having problems with (a secondary form class) I could not debug the form as no breakpoints would be hit.  After reading this forum and not finding my answer, I checked build--&gt;configuration manager--&gt; and sure enough I had set my build config to release. Setting it BACK to debug and rebuilding fixed all my debugging woes. Hope this helps!<img src="http://forums.microsoft.com/MSDN/images/emoticons/smile_nerd.gif">Thu, 07 Jun 2007 22:24:26 Z2007-06-07T22:24:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#63e89171-bf59-473b-b725-1a832b166f4bhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#63e89171-bf59-473b-b725-1a832b166f4bebcdichttp://social.msdn.microsoft.com/Profile/en-US/?user=ebcdicDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."For me the issue was resolved by uninstalling the dll from GAC and reinstalling using gacutil and regasm.Wed, 20 Jun 2007 14:24:55 Z2007-06-20T14:24:55Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#9df9d03e-90d2-4b30-89ee-ff029f391b8ehttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#9df9d03e-90d2-4b30-89ee-ff029f391b8emini_belahttp://social.msdn.microsoft.com/Profile/en-US/?user=mini_belaDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>I don't know where to ask for help <img height=19 alt=Sad src="http://forums.microsoft.com/MSDN/emoticons/emotion-6.gif" width=19> so I'm trying on this topic.</p> <p>I have installed VN 2003 on my machine two months ago. The debugger worked just fine... until yesterday. Now it does not stop at any breakpoints and the debug window shows </p> <p><font size=1> </font></p> <p><font face="Geneva, Arial, Sans-serif" size=1>'csc2200.exe': Loaded 'C:\Documents and Settings\Stud\My Documents\Visual Studio Projects\csc2200\Debug\csc2200.exe', Symbols loaded.</font></p> <p><font face="Geneva, Arial, Sans-serif" size=1>'csc2200.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.</font></p> <p><font face="Geneva, Arial, Sans-serif" size=1>'csc2200.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.</font></p> <p><font face="Geneva, Arial, Sans-serif" size=1>The program '[3300] csc2200.exe: Native' has exited with code 0 (0x0).</font></p> <p> </p> <p>Useless to say that I've tried every solution suggested above...</p> <p>Actually, the settings that have led other people into trouble are correct in my case.</p> <p>What else could be??</p>Wed, 25 Jul 2007 20:31:29 Z2007-07-25T20:31:29Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#1ed929ca-8f3d-4fa5-be18-e03f122786bdhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#1ed929ca-8f3d-4fa5-be18-e03f122786bdEntdeckerhttp://social.msdn.microsoft.com/Profile/en-US/?user=EntdeckerDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."I've just had the same problem, but I think I got the right answer to solve this.<br><br>The message that appears is this one:<br><br><span style="background-color:rgb(255,255,0)">&quot;The breakpoint will not currently be hit. The source codde is different from the original version.</span><br style="background-color:rgb(255,255,0)"><span style="background-color:rgb(255,255,0)">To allow the brekpoint to be hit when the source code is different, right-click on the breakpoint, choose...&quot;</span><br><br>Solution:<br><br>1- Don't press F5 to debug.<br>2- Go to Menu Build/ Build ..... <br><br>It will prevent the existence of the difference between the source codde and the codde of original version stated by the message...<br><br>Auf Wiedersehen<br><br>Mon, 27 Aug 2007 17:16:34 Z2007-08-27T17:16:34Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#c3eeed6b-0e96-4414-880b-2625d2b432b3http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#c3eeed6b-0e96-4414-880b-2625d2b432b3Hani07http://social.msdn.microsoft.com/Profile/en-US/?user=Hani07Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p align=left><font face=Arial size=2></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span class=forumname1><span style="font-size:14pt;color:black;font-family:Arial">&quot;The breakpoint will not currently be hit. No symbols have been loaded for this document.&quot;</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span class=forumname1><span style="font-size:14pt;color:black;font-family:Arial"> </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in;tab-stops:list .5in"><span class=forumname1><b><span style="color:black;font-family:Arial"><font size=3>1-</font><span style="font:7pt 'Times New Roman'">     </span></span></b></span><span class=forumname1><b><span style="color:black;font-family:Arial"><font size=3>Install the following utility:</font></span></b></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span class=forumname1><span style="color:black;font-family:Arial"><font size=3>Windows CE .NET Utilities v1.1 for Visual Studio .NET 2003.EXE</font></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span class=forumname1><span style="color:black;font-family:Arial"><font size=3> </font></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in;tab-stops:list .5in"><span class=forumname1><b><span style="color:black;font-family:Arial"><font size=3>2-</font><span style="font:7pt 'Times New Roman'">     </span></span></b></span><span class=forumname1><b><span style="color:black;font-family:Arial"><font size=3>Run </font></span></b></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span class=forumname1><span style="color:black;font-family:Arial"><font size=3>VS2003 with Windows CE\DelDesktopCryptKey.exe</font></span></span></p>Mon, 27 Aug 2007 21:49:36 Z2007-08-27T21:49:36Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#50bd9b06-15b5-4656-b4c4-9e663039066ehttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#50bd9b06-15b5-4656-b4c4-9e663039066eTajinder Saraohttp://social.msdn.microsoft.com/Profile/en-US/?user=Tajinder%20SaraoDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."I tried many solutions mentioned on various forums including this one but nothing seem to work for me. Deleting all the files from &quot;Temporary ASP.NET Files&quot; did the trick. I am using a Web Site and a Class Library in my solution. It appears that there was a version difference between the assemblies because on recompiling the assemblies were not updated.<br><br>Thu, 18 Oct 2007 17:24:51 Z2007-10-18T17:24:51Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#1e3af640-4dff-4ccc-86f0-a2c1b51a5a9ahttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#1e3af640-4dff-4ccc-86f0-a2c1b51a5a9aSteveDodsonhttp://social.msdn.microsoft.com/Profile/en-US/?user=SteveDodsonDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>Dustin - Thanks so much. Your suggestion worked. I have also spent many, many hours trying to get over this issue and tried many different ideas. But yours worked! Thanks again!!</p> <p align=left>-Steve</p> <p align=left><font face=Arial size=2></font> </p>Tue, 04 Dec 2007 16:20:04 Z2007-12-04T16:20:04Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#3a428de8-2b98-493e-94ca-7786661894f9http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#3a428de8-2b98-493e-94ca-7786661894f9daisynhttp://social.msdn.microsoft.com/Profile/en-US/?user=daisynDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p>on the menu goto Build </p> <p align=left>                             ConfigurationManager</p> <p align=left>                                     in the dropdown select Debug.</p> <p align=left>                              </p> <p align=left>     </p> <p align=left><font face=Arial size=2></font> </p>Thu, 07 Feb 2008 20:46:50 Z2008-02-07T20:46:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#1827db32-14bb-4975-a682-02d4c6e9648dhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#1827db32-14bb-4975-a682-02d4c6e9648dparadasarathihttp://social.msdn.microsoft.com/Profile/en-US/?user=paradasarathiDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p align=left><font face=Arial size=2></font> </p> <p>Try this out dude</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>Go to inetmgr , properties , select &quot;configaration&quot; in the &quot;Home Directory&quot; . In the debuggin Tab select enable Asp net server side debuggin. </p></blockquote>Fri, 22 Feb 2008 13:06:11 Z2008-02-22T13:06:11Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#19298a92-c1bb-4005-9667-105022a3b9a4http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#19298a92-c1bb-4005-9667-105022a3b9a4Suzanne Bleehttp://social.msdn.microsoft.com/Profile/en-US/?user=Suzanne%20BleeDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p align=left><font face=Arial size=2>I was able to enable my breakpoints by opening the property page for the project launching my external executable, going to the Debug tab, and checking &quot;Enable unmanged code debugging&quot; checkbox.  I also made sure that all of the necessary references were there between this project and the project with the problem.</font></p>Sat, 23 Feb 2008 18:02:47 Z2008-02-23T18:02:47Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#a457d13d-986e-4b5b-9cd4-f431206c16c8http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#a457d13d-986e-4b5b-9cd4-f431206c16c8NextDeveloperhttp://social.msdn.microsoft.com/Profile/en-US/?user=NextDeveloperDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<font face=Arial size=2> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'">I have strange problem with breakpoints in Visual Studio 2008 and Vista 64. My project is small COM sever dll and registration with &quot;Register output&quot; option and manual unregistration are working ok. After successful manual unregistration I disabled &quot;Register output&quot; and trying to use regsvr32 as debugging command in project settings and set breakpoint at my DllMain then run it (F5), but my breakpoint does not work and I saw successfull registration message box with full path name of my dll file. </span></p> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'">I wrote small app which is using LoadLibrary to load my DLL and use it instead of regsvr32 as debugging command and in this case breakpoint is working ok and execution stops. </span></p> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'">I saw even more strange thing when I write ATLASSERT(FALSE) in my DLLmain function and then run regsvr32 from cmd,  I got &quot;Debug Assertion Failed&quot; message box and hit &quot;Retry&quot;  to go to debug but I saw only one more error message from regsvr32 and did not go to debug. JIT debugging is enabled and it is working ok with another app but not with regsvr32. </span></p> <p> </p> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'">Any help please.</span></p> <p align=left></font> </p>Sun, 24 Feb 2008 19:36:49 Z2008-02-24T19:36:49Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#affaca53-647d-4127-b2c7-0f59dfd6c269http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#affaca53-647d-4127-b2c7-0f59dfd6c269NextDeveloperhttp://social.msdn.microsoft.com/Profile/en-US/?user=NextDeveloperDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."I was able to solve problem and solution was very simple. Just in case if somebody has same problem, check what exact version regsvr32 is used in debug command. There are two versions in x64 windows with same name. One is x64 in directory system32\ and another is x86 in directory syswow64\. Visual Studio does not check what project you have and uses always version x64 from system32\ directory and as result your breakpoints in DLL will not work. You have to use version which corresponds with you project. If your DLL is 32 bits then you have ot use regsvr232 from syswow64\ as debugger command.<br><br>Regards.<br>Sun, 02 Mar 2008 22:37:25 Z2008-03-02T22:37:25Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#cbd94e51-5d3b-4106-a359-e40d36819203http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#cbd94e51-5d3b-4106-a359-e40d36819203Sarishkshttp://social.msdn.microsoft.com/Profile/en-US/?user=SarishksDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."just make any chages in the code file and run again.... <p align=left><font face=Arial size=2></font> </p>Wed, 23 Apr 2008 10:58:58 Z2008-04-23T10:58:58Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#cde3b2f4-70f9-4b98-9c04-7a8f064b40f6http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#cde3b2f4-70f9-4b98-9c04-7a8f064b40f6NextDeveloperhttp://social.msdn.microsoft.com/Profile/en-US/?user=NextDeveloperDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<p align=left><font face=Arial size=2>And what?</font></p>Wed, 23 Apr 2008 13:49:26 Z2008-04-23T13:49:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#8c275f14-5c70-4b39-a19f-5c9b84ee5a10http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#8c275f14-5c70-4b39-a19f-5c9b84ee5a10Dotnetchikhttp://social.msdn.microsoft.com/Profile/en-US/?user=DotnetchikDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."Thank you, very much. It's  helped me  a lot !!!<br>Thu, 24 Apr 2008 13:36:22 Z2008-04-24T13:36:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#20d7701e-b17c-488f-9526-3cdf3571c786http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#20d7701e-b17c-488f-9526-3cdf3571c786johnnyk427http://social.msdn.microsoft.com/Profile/en-US/?user=johnnyk427Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."After trying all the suggestions in this forum, and having none of them work, I was able to solve the problem simply be restarting my computer.  So, don't forget that good old trusty option if you're having issues! Fri, 07 Nov 2008 05:29:44 Z2008-11-07T05:29:44Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#b6c7defc-cb92-4626-bd94-0babf328125ahttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#b6c7defc-cb92-4626-bd94-0babf328125aRavikiran.Doredlahttp://social.msdn.microsoft.com/Profile/en-US/?user=Ravikiran.DoredlaDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."Go to Solution Properties and expand Configuration Properties and Select Build  option and Generate Debugging Information set to True.Tue, 16 Jun 2009 05:42:53 Z2009-06-16T05:42:53Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#ddad5777-3d81-495a-95d0-82af3a752196http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#ddad5777-3d81-495a-95d0-82af3a752196Mr. Amit Pathakhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mr.%20Amit%20PathakDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."In the VS2005 IDE, Open Tools/Options and Select the Debugging node.  Make sure the &quot;Enable Just My Code (Managed Only)&quot; is <span style="font-style:italic">deselected</span>.  Even after deselecting this option you may still see the error until you start the preview and the libraries load into memory.<br/> try it outSat, 05 Sep 2009 09:10:51 Z2009-09-05T09:10:51Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#f494acfb-917c-48dc-9071-44791b41bd44http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c8b42ef2-e7de-4b23-859b-73c90ca9622c#f494acfb-917c-48dc-9071-44791b41bd44Exit Musichttp://social.msdn.microsoft.com/Profile/en-US/?user=Exit%20MusicDebugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."<blockquote>I have had similiar behaviour trying to debug a large solution with 28 projects in it (one of them being a web project).<br/><br/>Clicking on &quot;Select...&quot; when attaching to a process and selecting both Managed and Native seemed to have cleared it up for our situation.<br/></blockquote> This was very helpful to me. Just wanna say thanksThu, 17 Sep 2009 11:31:59 Z2009-09-17T11:31:59Z