Skip to content

Commit d60142e

Browse files
author
David Karlaš
committed
Removing "--- End oF stack trace..." from ExceptionInfo stack trace
1 parent 6c64bd1 commit d60142e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Mono.Debugging/Mono.Debugging.Evaluation/ExceptionInfoSource.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ ObjectValue GetStackTrace (EvaluationOptions options, object exceptionType)
183183

184184
if (text.Length == 0)
185185
continue;
186+
//Ignore entries like "--- End of stack trace from previous location where exception was thrown ---"
187+
if (text.StartsWith ("---", StringComparison.Ordinal))
188+
continue;
186189

187190
var match = regex.Match (text);
188191
if (match.Success) {

0 commit comments

Comments
 (0)