Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1415
  • Last Modified:

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

Hi Experts,
Few days ago I compledted a bug fix and created a deployment file in Release mode and deployed it.  Now I have to make further changes to the same project as more changes needed.  I changed the Mode to Debug and started debuging it.  But now it is not waiting on the break points.  I still can see my break point with a question mark in side the dot and when move the cursor on, I see the message "The breakpoint will not currently be hit. No symbols have been loaded for this document.".  Please let me know if you have any idea.  FYI, I am using VS2003 and there is no other changes I did.  Thank you in advance.
0
RadhaKrishnaKiJaya
Asked:
RadhaKrishnaKiJaya
1 Solution
 
Easwaran ParamasivamCommented:
Ensure that the DLL is created with corresponding PDB file is created in the respective bin folder. If not try to rebuild the solution and try to debug.

Make sure that in your config file <compilation debug=true> is set.

Try to open the VS in Administrator mode. Program>..> VisualStudo.NET > Right Click > Choose option 'Run as administrator'.

If above ways fail then please follow the below link. http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx to get an idea.

I hope this helps.
0
 
anarki_jimbelCommented:
Sometimes I have a similar problem.
The best way I believe is to rebuild the program.
Try from the VS menu:
 - Build --> Clean Solution
Then
 - Build --> Build 'YourProject'

If this does not help - try the above approach.
0
 
RadhaKrishnaKiJayaAuthor Commented:
EaswaranP and anarki_jimbel,
Thank you for your response.  I have already tried to build and rebuild the solution and project saveral times.  In the web.config file, the debug="true".  I don't see Run As Administer option under Program-->.  I see Program-->Microsoft Visual .NET Studio 2003. Also I don't see Clean Solution under Build.  Am I missing something?  FYI, I have VS2003.  I am yet to try the link you have provided and update here.  Thank you again.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
RadhaKrishnaKiJayaAuthor Commented:
Hi EaswaranP,
The link you provided is ment for VS 2008.  I am using VS 2003.  I don't see the changes it is asking for.  For example Turn OFF the "Enable Just My Code" setting" and Turn ON the "Enable Source Server Support" setting are not there at all.  But this document is very nice and will be useful.  Please let me know if you get any other ideas.  Thank you for your help.
0
 
anarki_jimbelCommented:
Hmmm, I don't know, for 2003 it may be a bit different. Really, Rebuild should do cleaning of the solution... All I can suggest is to remove all files from a build directory manually and then build the solution again. And then try reset break points one by one. No idea, really, what's going on...
0
 
Naman GoelSoftware engineer 1Commented:
Please make sure you select Debug from solution configuration dropdownlist in menu bar.

If the debugger doesn’t load the .pdb file, the Breakpiont cannot be hit. So please make sure that the symbols are loaded by the debugger. We can check if the debugger loads this pdb file by the following steps (Debug->Windows->Modules), and then select your dll module to see if the pdb file is loaded. If the pdb file is not loaded, we can load it manually (Right click the dll model->Select Load Symbols).

You can get more information about debugging by referring to http://blogs.msdn.com/jimgries/pages/visual-studio-debugger-faq.aspx (Section: Breakpoints and other Execution Control).
0
 
RadhaKrishnaKiJayaAuthor Commented:
Hi naman_goel and srosebabu,
Thank you for your help.  I was able to finish the project without debuging.  Sorry for being late as I was diverted to different project and I will be back soon to this.  Thank you.
0
 
informaniacCommented:
An iisreset should have helped
0
 
RadhaKrishnaKiJayaAuthor Commented:
I could not get back to my project because of time limit.  However I accept the solution of all the experts and closing this questions.
0
 
RadhaKrishnaKiJayaAuthor Commented:
Thank you all.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now