Reputation: 11661
I have a C# Azure Function that I develop in Visual Studio 2017. Everything works fine but when I want to debug locally and set a break point, the break point is not hit and the following message is displayed: 'The breakpoint will not currently be hit. No symbols have been loaded for this document.'
How can I get the break points working?
Upvotes: 2
Views: 3230
Reputation: 3392
Maybe too simple for an answer but restarting Visual Studio worked for me.
Upvotes: 0
Reputation: 310
Upvotes: 0
Reputation: 2634
You may have already verified this, but make sure you are building in debug mode. This can be verified by the project properties under the build tab. If it is already in debug mode, right click the Solution in solution explorer, click "clean solution" and rebuild. The last thing I would verify is that "Just My Code" option is disabled in in the Debug/General settings.
Upvotes: 0
Reputation: 11661
To be able to use break points do the following: in Visual Studio go to Tools -> Options -> Debugging -> General
There uncheck Use Managed Compatibility Mode
.
Then it should work.
Upvotes: 3