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

Function Debugger_HotLoad

IDEHelper/DebugManager.cpp:925–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923}
924
925BF_EXPORT bool BF_CALLTYPE Debugger_HotLoad(const char* fileNamesStr, int hotIdx)
926{
927 //DbgModule* dwarf = new DbgModule(gDebugger);
928 //dwarf->ReadPE(fileName);
929
930 Array<String> fileNames;
931 const char* curPtr = fileNamesStr;
932 for (int i = 0; true; i++)
933 {
934 if ((fileNamesStr[i] == '\0') || (fileNamesStr[i] == '\n'))
935 {
936 String curFileName = String(curPtr, fileNamesStr + i);
937
938 if ((curFileName.IndexOf("/vdata.") != -1) || (curFileName.IndexOf("\\vdata.") != -1))
939 {
940 // Do vdata first - so new data and special functions don't have to be deferred resolved
941 fileNames.Insert(0, curFileName);
942 }
943 else
944 fileNames.Add(curFileName);
945 curPtr = fileNamesStr + i + 1;
946 }
947
948 if (fileNamesStr[i] == '\0')
949 break;
950 }
951
952 gDebugger->HotLoad(fileNames, hotIdx);
953
954 return true;
955}
956
957BF_EXPORT bool BF_CALLTYPE Debugger_LoadDebugVisualizers(const char* fileName)
958{

Callers

nothing calls this directly

Calls 5

StringClass · 0.85
IndexOfMethod · 0.45
InsertMethod · 0.45
AddMethod · 0.45
HotLoadMethod · 0.45

Tested by

no test coverage detected