1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Changed some debugging logging

This commit is contained in:
Brian Fiete 2020-04-14 11:35:54 -07:00
parent f0b5a4eb94
commit 592471434f
3 changed files with 12 additions and 5 deletions

View file

@ -5333,10 +5333,12 @@ void DbgModule::HotReplaceType(DbgType* newType)
bool setHotJumpFailed = false;
while (!newType->mMethodList.IsEmpty())
{
{
DbgSubprogram* newMethod = newType->mMethodList.PopFront();
if (!newMethod->mBlock.IsEmpty())
{
BfLogDbg("Hot added new method %p %s Address:%p\n", newMethod, newMethod->mName, newMethod->mBlock.mLowPC);
newMethod->PopulateSubprogram();
auto symInfo = mDebugTarget->mSymbolMap.Get(newMethod->mBlock.mLowPC);
@ -5524,6 +5526,8 @@ bool DbgModule::ReadCOFF(DataStream* stream, DbgModuleKind moduleKind)
//if (this == mDebugTarget->mTargetBinary)
//mMemReporter = new MemReporter();
BfLogDbg("DbgModule::ReadCOFF %s\n", mFilePath.c_str());
if (mMemReporter != NULL)
{
mMemReporter->BeginSection(StrFormat("Module: %s", mFilePath.c_str()));