Skip to content

Commit

Permalink
Fix <unknown> stack frames for EntityFramework assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneySprings committed Dec 23, 2024
1 parent f7c05ab commit d93a6f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/DotNet.Meteor.Debugger/Extensions/MonoExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public static string ToDisplayValue(this ObjectValue value) {
public static StackFrame? GetFrameSafe(this Backtrace bt, int n) {
try {
return bt.GetFrame(n);
} catch (Exception) {
} catch (Exception e) {
DebuggerLoggingService.CustomLogger?.LogError($"Error while getting frame [{n}]", e);
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Mono.Debugger

0 comments on commit d93a6f4

Please sign in to comment.