even more fixes

This commit is contained in:
Mr. eXoDia 2015-03-28 01:35:26 +01:00
parent 41b7d7f342
commit 24fef19f57
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,9 @@ namespace GleeBug
//process housekeeping //process housekeeping
_processes.erase(_debugEvent.dwProcessId); _processes.erase(_debugEvent.dwProcessId);
//set the current process
_curProcess = nullptr;
} }
void Debugger::createThreadEvent(const CREATE_THREAD_DEBUG_INFO & createThread) void Debugger::createThreadEvent(const CREATE_THREAD_DEBUG_INFO & createThread)
@ -52,6 +55,9 @@ namespace GleeBug
//thread housekeeping //thread housekeeping
_curProcess->threads.erase(_debugEvent.dwThreadId); _curProcess->threads.erase(_debugEvent.dwThreadId);
//set the current thread
_curProcess->curThread = nullptr;
} }
void Debugger::loadDllEvent(const LOAD_DLL_DEBUG_INFO & loadDll) void Debugger::loadDllEvent(const LOAD_DLL_DEBUG_INFO & loadDll)