modules window is empty when debugging and the breakpoint will not currently be hit. No symbols have beenloaded for this document

  • Thread starter Thread starter carrie4ia
  • Start date Start date
C

carrie4ia

Guest
I have recently upgraded a solution from 3.5 framework to 4.6.1 framework using Visual studio 2017. When in Debug mode, when I set a breakpoint at the the Page_load for a page I am trying to check, the breakpoint goes from solid red to yellow circle, with warning message 'The breakpoint will not currently be hit. No symbols have been loaded for this document'. The modules window is empty. I have had no luck with any of the solutions I've read so far.

The page opens and displays fine just the breakpoint isn't hit and I need to step through the code to investigate an issue.

I've tried several suggestions including:

cleaned and rebuilt the solution and projects

Removed the pdb files and repeated step above

Changed settings in tools, options, Debugging - disabled the Enable just my Code, Enabled the .NET framework source stepping, enabled Load dll exports (Native only)

also in Symbols - after enabling the NET framework source stepping the cache was set up and symbols loaded, and after that clicked the Microsoft symbol servers checkbox but neither of these made any difference.

When I last ran the debug and I checked the cache location on my machine all the microsoft symbols loaded but the solution dll all failed to load.

I've checked the project property pages and the debuggers is set to asp.net, the target framework is .NET Framework 4.6.1

Before the upgrade the debugging process was working fine.

Can you let me know what else I can try or is there another solution for this?

Thanks

Continue reading...
 
Back
Top