Share via

Only with minidump, How can i get method name from address for the managed code.

行者 风 1 Reputation point
2022-12-20T17:19:24.31+00:00

I get the minidump, and the stack is:

ntdll.dll!RtlpWaitOnCriticalSection() 未知 已加载符号。

ntdll.dll!RtlpEnterCriticalSectionContended()   未知  已加载符号。  
ntdll.dll!RtlEnterCriticalSection ()    未知  已加载符号。  
[内联框架] mono-2.0-bdwgc.dll!mono_os_mutex_lock(mono_mutex_t *) 行 288  C   已加载符号。  
mono-2.0-bdwgc.dll!mono_coop_mutex_lock(_MonoCoopMutex * mutex=0x000001e068f9db70) 行 57 C   已加载符号。  
[内联框架] mono-2.0-bdwgc.dll!lock_thread(_MonoInternalThread *) 行 527  C   已加载符号。  
mono-2.0-bdwgc.dll!request_thread_abort(_MonoInternalThread * thread=0x000001deed6aaab0, MonoObjectHandle * state=0x000000abff3ff190, int appdomain_unload=0x00000000) 行 2906   C   已加载符号。  
[内联框架] mono-2.0-bdwgc.dll!ves_icall_System_Threading_Thread_Abort(MonoInternalThreadHandle state={...}, MonoObjectHandle) 行 2958    C   已加载符号。  
mono-2.0-bdwgc.dll!ves_icall_System_Threading_Thread_Abort_raw(volatile void * a0, volatile void * a1) 行 1048   C   已加载符号。  
000001e06be61c9d()  未知  未加载任何符号。  
000001e06be61bd3()  未知  未加载任何符号。  
000001e068d0f34b()  未知  未加载任何符号。  
000001e068d0f023()  未知  未加载任何符号。  
000001e0ce9d54e3()  未知  未加载任何符号。  
000001df960a183c()  未知  未加载任何符号。  

I want to know which method is with the address.

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 61,191 Reputation points
    2022-12-20T19:36:07.28+00:00

    When you build your code (even in release mode) it generates a PDB file with the debug information. Put the PDB with the binary (most apps do this as part of their installer) When the minidump is generated it'll retrieve the symbol information from the PDB if it is available.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.