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

Function Debugger_OpenMiniDump

IDEHelper/DebugManager.cpp:873–893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873BF_EXPORT bool BF_CALLTYPE Debugger_OpenMiniDump(const char* fileName)
874{
875#ifdef BF_PLATFORM_WINDOWS
876 DbgMiniDump* dbgMiniDump = new DbgMiniDump();
877 bool result = dbgMiniDump->StartLoad(fileName);
878 if (!result)
879 {
880 delete dbgMiniDump;
881 return false;
882 }
883
884 if (dbgMiniDump->GetTargetBitCount() == 32)
885 gDebugger = CreateDebugger32(gDebugManager, dbgMiniDump);
886 else
887 gDebugger = CreateDebugger64(gDebugManager, dbgMiniDump);
888
889 return result;
890#else //BF_PLATFORM_WINDOWS
891 return false;
892#endif
893}
894
895BF_EXPORT bool BF_CALLTYPE Debugger_Attach(int processId, BfDbgAttachFlags attachFlags)
896{

Callers

nothing calls this directly

Calls 3

CreateDebugger64Function · 0.85
StartLoadMethod · 0.80
GetTargetBitCountMethod · 0.80

Tested by

no test coverage detected