mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Better hints for viewing leaked memory info
This commit is contained in:
parent
959ccebc26
commit
bcc8389ae8
2 changed files with 2 additions and 2 deletions
|
@ -1137,7 +1137,7 @@ void BFGC::ProcessSweepInfo()
|
|||
//::MessageBoxA(NULL, "Leak", "Leak", MB_OK);
|
||||
|
||||
//#if 0
|
||||
Beefy::StringT<1024> errorStr = StrFormat("%d object memory leak%s detected, details in Output panel.",
|
||||
Beefy::StringT<1024> errorStr = StrFormat("%d object memory leak%s detected.\nMouse over an 'i' icon in the Output panel to view a leaked object and its allocation stack trace.",
|
||||
mSweepInfo.mLeakCount, (mSweepInfo.mLeakCount != 1) ? "s" : "");
|
||||
gDbgErrorString = errorStr;
|
||||
gDbgErrorString += "\n";
|
||||
|
|
|
@ -416,7 +416,7 @@ void BFGC::RawShutdown()
|
|||
|
||||
if (mSweepInfo.mLeakCount > 0)
|
||||
{
|
||||
Beefy::String errorStr = StrFormat("%d raw memory leak%s detected, details in Output panel.",
|
||||
Beefy::String errorStr = StrFormat("%d raw memory leak%s detected.\nMouse over an 'i' icon in the Output panel to view the leaked memory or the associated allocation stack trace.",
|
||||
mSweepInfo.mLeakCount, (mSweepInfo.mLeakCount != 1) ? "s" : "");
|
||||
gDbgErrorString = errorStr;
|
||||
gDbgErrorString += "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue