mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-23 09:10:51 +00:00
Add SymSrv.dll check
This is often a source of missing symbols or incomprehension as to why they are not getting resolved. Having a debug log will help debugging such cases.
This commit is contained in:
@@ -437,6 +437,11 @@ void DbgHelpInit()
|
||||
{
|
||||
SymError( "SymInitialize", GetLastError() );
|
||||
}
|
||||
else if( GetModuleHandleA( "SymSrv.dll" ) == NULL )
|
||||
{
|
||||
TracyDebug( "SymSrv.dll was not loaded, it needs to be near a matching version of DbgHelp.dll. Symbol resolution may fail as symbol servers will not be used. See https://learn.microsoft.com/en-us/windows/win32/debug/calling-the-dbghelp-library" );
|
||||
}
|
||||
|
||||
|
||||
#ifdef TRACY_DBGHELP_LOCK
|
||||
DBGHELP_UNLOCK;
|
||||
|
||||
Reference in New Issue
Block a user