Can I apply an attribute like DebuggerHidden to skip a function and all the functions that it calls?

As stated in the question, I have a static function (for logging) that I want to skip during debugging, so far I have annotated it with an attribute DebuggerHidden, but for some reason Visual Studio 2010 then jumps into calls inside this function that not annotated with this attribute.

The thing is, I press F11 several times, and I really don't press F10 for these logging methods, which I do not want to disable otherwise.

+3
source share
2 answers

[DebuggerStepThrough] , . , . , , , . , , , connect.microsoft.com

+4
+3

Source: https://habr.com/ru/post/1774369/


All Articles