Search code examples
c#azuredebuggingvisual-studio-2017azure-functions

Debugging Azure Functions with Visual Studio: Break Points don't work


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?


Solution

  • 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.