Skip to content

Commit

Permalink
[mono] Include dynamic methods in stacktrace (dotnet#72732)
Browse files Browse the repository at this point in the history
Same as coreclr
  • Loading branch information
BrzVlad committed Jul 25, 2022
1 parent 7ec4304 commit 9a0b8f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mono/mono/mini/mini-exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,8 @@ ves_icall_get_trace (MonoException *exc, gint32 skip, MonoBoolean need_file_info
method = jinfo_get_method (ji);
else
method = get_method_from_stack_frame (ji, generic_info);
if (jinfo_get_method (ji)->wrapper_type) {
int wrapper_type = jinfo_get_method (ji)->wrapper_type;
if (wrapper_type && wrapper_type != MONO_WRAPPER_DYNAMIC_METHOD) {
char *s;

sf->method = NULL;
Expand Down

0 comments on commit 9a0b8f3

Please sign in to comment.