If you use Visual Studio you have already seen this message at least one time: The breakpoint will not currently be hit. No symbols have been loaded for this document.” and your breakpont is white and never hit.
Here is the things you should try if you have this message:
- Clean the solution:
- Right click on the solution
- Click on "Clean Solution"
- Check the environment constants
- Right click on the project
- Click on "Properties"
- Click on the "Build" tab
- Check the box "Define DEBUG constant"
- Check the box "Define TRACE constant"
- Rebuild all
- Select the "Debug info" to full
- Right click on the project
- Click on "Properties"
- Click on the "Build" tab
- Click on "Advanced"
- Select "full" in the dropdown "Debug info"
- Rebuild all
Still not working
ReplyDeletestill not working... any other solution?
ReplyDeleteI am stuck on this since 4 days
You still have the alternative to decompile your code. You can use resharper pro for example. This will help you to debug. If you are stuck in a Sitecore pipeline. You can just decompile this/those classes in a separated dll just for the time of the debugging.
ReplyDeleteAfter that without the solution, ... it is pretty hard to help you. But I agree that this didn't work at 100%. I had some cases in the past where this technique didn't work. Normally, you should be able to attach the breakpoints but sometimes you are not able see the varialbes values.
This has worked multiple times for me. Thanks for this!
ReplyDeletewtf still not working
ReplyDeleteIt worked for me! Thanks a lot!
ReplyDeleteIt doesn't work for me too.
ReplyDeleteTry Debug=>Options=>Debugging=>General and uncheck "Enable Just My Code"
ReplyDeleteWorked for me