mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed crash evaluating registers when debug module hasn't loaded
This commit is contained in:
parent
912fdbe195
commit
e13b24cd30
1 changed files with 3 additions and 2 deletions
|
@ -8732,8 +8732,8 @@ DbgTypedValue WinDebugger::GetRegister(const StringImpl& regName, DbgLanguage la
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
auto dbgModule = mDebugTarget->GetMainDbgModule();
|
||||
|
||||
auto dbgModule = mEmptyDebugTarget->GetMainDbgModule();
|
||||
|
||||
if (regNum != -1)
|
||||
{
|
||||
|
@ -10220,6 +10220,7 @@ String WinDebugger::GetProcessInfo()
|
|||
|
||||
retStr += StrFormat("VirtualMemory\t%d\n", memInfo.PagefileUsage);
|
||||
retStr += StrFormat("WorkingMemory\t%d\n", memInfo.WorkingSetSize);
|
||||
retStr += StrFormat("RunningTime\t%lld\n", *(int64*)&creationTime);
|
||||
retStr += StrFormat("KernelTime\t%lld\n", *(int64*)&kernelTime);
|
||||
retStr += StrFormat("UserTime\t%lld\n", *(int64*)&userTime);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue