Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 998
quervernetzt Avatar asked Apr 23 '26 16:04

quervernetzt


1 Answers

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.

like image 194
quervernetzt Avatar answered Apr 26 '26 07:04

quervernetzt