projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec4304
)
[mono] Include dynamic methods in stacktrace (#72732)
author
Vlad Brezae
<brezaevlad@gmail.com>
Mon, 25 Jul 2022 07:46:23 +0000
(10:46 +0300)
committer
GitHub
<noreply@github.com>
Mon, 25 Jul 2022 07:46:23 +0000
(10:46 +0300)
Same as coreclr
src/mono/mono/mini/mini-exceptions.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/mini-exceptions.c
b/src/mono/mono/mini/mini-exceptions.c
index
a21c1ac
..
d753cde
100644
(file)
--- a/
src/mono/mono/mini/mini-exceptions.c
+++ b/
src/mono/mono/mini/mini-exceptions.c
@@
-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;