1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixes for debugger, -run and -new support for BeefBuild

This commit is contained in:
Brian Fiete 2019-09-22 08:25:38 -07:00
parent f534da77ff
commit eb139fd33c
8 changed files with 98 additions and 64 deletions

View file

@ -55,7 +55,7 @@ String DbgSymRequest::GetPDBStoreDir()
checkPath += GetFileName(mPDBRequested);
checkPath += "/";
checkPath += GetGuidString();
checkPath += StrFormat("%X/", mWantAge);
checkPath += StrFormat("%x/", mWantAge);
return checkPath;
}

View file

@ -394,7 +394,7 @@ NetRequest::~NetRequest()
mResult->mCurRequest = NULL;
if (mResult->mDoneEvent != NULL)
{
mResult->mDoneEvent->Set();
mResult->mDoneEvent->Set(true);
BF_ASSERT(!mResult->mRemoved);
}
if (mResult->mRemoved)

View file

@ -1431,8 +1431,18 @@ bool WinDebugger::DoUpdate()
}
if (IsMiniDumpDebugger())
{
Sleep(20);
{
//
{
AutoCrit autoCrit(mDebugManager->mCritSect);
if (mRunState == RunState_Terminating)
{
mRunState = RunState_Terminated;
return false;
}
}
Sleep(20);
return false;
}