Исходный код вики Сценарии
Версия 1.7 от Alexandr Fokin на 2024/08/17 10:26
Последние авторы
| author | version | line-number | content |
|---|---|---|---|
| 1 | |(% style="width:305px" %)Программная точка останова|(% style="width:1158px" %){{code language="c#"}}if(System.Diagnostics.Debugger.IsAttached) | ||
| 2 | System.Diagnostics.Debugger.Break();{{/code}} | ||
| 3 | |Не отображать класс в стеке вызовов|((( | ||
| 4 | How to hide the current method from exception stack trace in .NET? | ||
| 5 | [[https:~~/~~/stackoverflow.com/questions/2973343/how-to-hide-the-current-method-from-exception-stack-trace-in-net>>url:https://stackoverflow.com/questions/2973343/how-to-hide-the-current-method-from-exception-stack-trace-in-net]] | ||
| 6 | DebuggerHiddenAttribute | ||
| 7 | [[https:~~/~~/learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debuggerhiddenattribute?view=net-7.0&redirectedfrom=MSDN>>url:https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debuggerhiddenattribute?view=net-7.0&redirectedfrom=MSDN]] | ||
| 8 | \\1) Не отображать при отладке. | ||
| 9 | ))) | ||
| 10 | |(% style="width:305px" %)Отладка внешнего кода, библиотек. | ||
| 11 | Отладка фреймворка.|(% style="width:1158px" %)((( | ||
| 12 | How to debug into .NET framework source code | ||
| 13 | [[https:~~/~~/stackoverflow.com/questions/54774515/how-to-debug-into-net-framework-source-code>>url:https://stackoverflow.com/questions/54774515/how-to-debug-into-net-framework-source-code]] | ||
| 14 | |||
| 15 | Параметр можно сильно замедлить время старта отладки. | ||
| 16 | ))) | ||
| 17 | |(% style="width:305px" %)Управление прерываниями на exception.|(% style="width:1158px" %)How do I make Visual Studio 2015 ignore handled exceptions? | ||
| 18 | [[https:~~/~~/stackoverflow.com/questions/43329155/how-do-i-make-visual-studio-2015-ignore-handled-exceptions>>url:https://stackoverflow.com/questions/43329155/how-do-i-make-visual-studio-2015-ignore-handled-exceptions]] | ||
| 19 | |(% style="width:305px" %)Получить текущий стек|(% style="width:1158px" %){{code language="c#"}}new System.Diagnostics.StackTrace(){{/code}} | ||
| 20 | |(% style="width:305px" %) |(% style="width:1158px" %) | ||
| 21 | |||
| 22 |