Skip to content

Commit a43c0ec

Browse files
committed
Document BreakForUserUnhandledException and DebuggerDisableUserUnhandledExceptionsAttribute
1 parent ec4f911 commit a43c0ec

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

xml/System.Diagnostics/Debugger.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,10 @@ Console.WriteLine("Hello, world.");
218218
<Parameter Name="exception" Type="System.Exception" Index="0" FrameworkAlternate="net-9.0" />
219219
</Parameters>
220220
<Docs>
221-
<param name="exception">To be added.</param>
222-
<summary>To be added.</summary>
221+
<param name="exception">The user-unhandled exception.</param>
222+
<summary>
223+
<para>Signals a breakpoint to an attached debugger with the <paramref name="exception" /> details if a .NET debugger is attached with break on user-unhandled exception enabled and a method attributed with DebuggerDisableUserUnhandledExceptionsAttribute calls this method.</para>
224+
</summary>
223225
<remarks>To be added.</remarks>
224226
</Docs>
225227
</Member>

xml/System.Diagnostics/DebuggerDisableUserUnhandledExceptionsAttribute.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
</Attribute>
2121
</Attributes>
2222
<Docs>
23-
<summary>To be added.</summary>
23+
<summary>
24+
<para>If a .NET Debugger is attached which supports the Debugger.BreakForUserUnhandledException(Exception) API, this attribute will prevent the debugger from breaking on user-unhandled exceptions when the exception is caught by a method with this attribute, unless BreakForUserUnhandledException is called.</para>
25+
</summary>
2426
<remarks>To be added.</remarks>
2527
</Docs>
2628
<Members>

0 commit comments

Comments
 (0)