Изменения документа Сценарии
                  Редактировал(а) Alexandr Fokin 2024/09/22 13:31
              
      
      От версии  1.1 
    
    
              отредактировано Alexandr Fokin
        
на 2022/12/02 14:34
     на 2022/12/02 14:34
      Изменить комментарий:
              К данной версии нет комментариев
          
         
      К версии  1.7 
    
    
              отредактировано Alexandr Fokin
        
на 2024/08/17 10:26
     на 2024/08/17 10:26
      Изменить комментарий:
              К данной версии нет комментариев
          
         Сводка
- 
          Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
 
Подробности
- Свойства страницы
 - 
      
- Содержимое
 -   
... ... @@ -1,8 +1,22 @@ 1 -|(% style="width:305px" %)Отладка кода внешнего кода, библиотек. 2 -Отладка фреймворка.|(% style="width:1158px" %)How to debug into .NET framework source code 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 3 3 [[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]] 4 -|(% style="width:305px" %)Управление прерыванием на exception.|(% style="width:1158px" %)How do I make Visual Studio 2015 ignore handled exceptions? 14 + 15 +Параметр можно сильно замедлить время старта отладки. 16 +))) 17 +|(% style="width:305px" %)Управление прерываниями на exception.|(% style="width:1158px" %)How do I make Visual Studio 2015 ignore handled exceptions? 5 5 [[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}} 6 6 |(% style="width:305px" %) |(% style="width:1158px" %) 7 7 8 8