We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd19f89 commit b9207fdCopy full SHA for b9207fd
Mono.Debugging/Mono.Debugging.Client/BreakpointStore.cs
@@ -142,14 +142,19 @@ public bool Add (BreakEvent bp)
142
}
143
144
public Catchpoint AddCatchpoint (string exceptionName)
145
+ {
146
+ return AddCatchpoint (exceptionName, true);
147
+ }
148
+
149
+ public Catchpoint AddCatchpoint (string exceptionName, bool includeSubclasses)
150
{
151
if (exceptionName == null)
152
throw new ArgumentNullException ("exceptionName");
153
154
if (IsReadOnly)
155
return null;
156
- var cp = new Catchpoint (exceptionName);
157
+ var cp = new Catchpoint (exceptionName, includeSubclasses);
158
Add (cp);
159
160
return cp;
0 commit comments