| 13346 | } |
| 13347 | |
| 13348 | int 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 | |
| 13371 | int WinDebugger::LoadDebugInfoForModule(const StringImpl& moduleName) |
| 13372 | { |
no test coverage detected