Skip to content

Commit 0b1f8df

Browse files
Always include stack frames from samples in DEBUG configuration (#1689)
* Include stack frames from samples * Only include samples in debug configuration
1 parent f89f9d4 commit 0b1f8df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Sentry/SentryOptions.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,15 @@ public SentryOptions()
681681
"ServiceStack"
682682
};
683683

684+
#if DEBUG
685+
InAppInclude = new[]
686+
{
687+
"Sentry.Samples."
688+
};
689+
#else
684690
InAppInclude = Array.Empty<string>();
691+
#endif
692+
685693
}
686694
}
687695
}

0 commit comments

Comments
 (0)