Исходный код вики Сценарии
Редактировал(а) Alexandr Fokin 2024/09/22 13:31
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | |(% style="width:283px" %)Программная точка останова|(% style="width:1201px" %){{code language="c#"}}if(System.Diagnostics.Debugger.IsAttached) | ||
2 | System.Diagnostics.Debugger.Break();{{/code}} | ||
3 | |(% style="width:283px" %)Не отображать класс в стеке вызовов|(% style="width:1201px" %)((( | ||
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:283px" %)Управление прерываниями на exception.|(% style="width:1201px" %)How do I make Visual Studio 2015 ignore handled exceptions? | ||
11 | [[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]] | ||
12 | |(% style="width:283px" %)Получить текущий стек|(% style="width:1201px" %){{code language="c#"}}new System.Diagnostics.StackTrace(){{/code}} | ||
13 | |(% style="width:283px" %) |(% style="width:1201px" %) | ||
14 | |||
15 | ---- | ||
16 | |||
17 | ==== Внутренние ссылки: ==== | ||
18 | |||
19 | ====== Дочерние страницы: ====== | ||
20 | |||
21 | {{children/}} | ||
22 | |||
23 | ====== Обратные ссылки: ====== | ||
24 | |||
25 | {{velocity}} | ||
26 | #set ($links = $doc.getBacklinks()) | ||
27 | #if ($links.size() > 0) | ||
28 | #foreach ($docname in $links) | ||
29 | #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) | ||
30 | * [[$escapetool.xml($rdoc.fullName)]] | ||
31 | #end | ||
32 | #else | ||
33 | No back links for this page! | ||
34 | #end | ||
35 | {{/velocity}} | ||
36 | |||
37 | ---- |