MCPcopy Create free account
hub / github.com/beefytech/Beef / LoadDebugInfoForModule

Method LoadDebugInfoForModule

IDEHelper/WinDebugger.cpp:13348–13369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13346}
13347
13348int WinDebugger::LoadDebugInfoForModule(DbgModule* dbgModule)
13349{
13350 if (!dbgModule->HasPendingDebugInfo())
13351 return 0;
13352
13353 if (dbgModule->RequestDebugInfo())
13354 {
13355 ClearCallStack(); // Make this re-resolve with debug info
13356 return 1;
13357 }
13358
13359 DbgPendingDebugInfoLoad* dbgPendingDebugInfoLoad = NULL;
13360 if (mPendingDebugInfoLoad.TryAdd(dbgModule, NULL, &dbgPendingDebugInfoLoad))
13361 {
13362 dbgPendingDebugInfoLoad->mModule = dbgModule;
13363 dbgPendingDebugInfoLoad->mAllowRemote = true;
13364 return 2;
13365 }
13366 dbgPendingDebugInfoLoad->mAllowRemote = true;
13367
13368 return 0;
13369}
13370
13371int WinDebugger::LoadDebugInfoForModule(const StringImpl& moduleName)
13372{

Calls 8

TryLoadPDBMethod · 0.80
HasPendingDebugInfoMethod · 0.45
RequestDebugInfoMethod · 0.45
TryAddMethod · 0.45
EqualsMethod · 0.45
c_strMethod · 0.45
IsEmptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected