mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Only attempt to allocate hot heap when hot swapping is enabled
This commit is contained in:
parent
4211c267a6
commit
d237c2aba2
6 changed files with 10 additions and 8 deletions
|
@ -1003,7 +1003,7 @@ bool WinDebugger::CanOpen(const StringImpl& fileName, DebuggerResult* outResult)
|
|||
return canRead;
|
||||
}
|
||||
|
||||
void WinDebugger::OpenFile(const StringImpl& launchPath, const StringImpl& targetPath, const StringImpl& args, const StringImpl& workingDir, const Array<uint8>& envBlock)
|
||||
void WinDebugger::OpenFile(const StringImpl& launchPath, const StringImpl& targetPath, const StringImpl& args, const StringImpl& workingDir, const Array<uint8>& envBlock, bool hotSwapEnabled)
|
||||
{
|
||||
BF_ASSERT(!mIsRunning);
|
||||
mLaunchPath = launchPath;
|
||||
|
@ -1011,6 +1011,7 @@ void WinDebugger::OpenFile(const StringImpl& launchPath, const StringImpl& targe
|
|||
mArgs = args;
|
||||
mWorkingDir = workingDir;
|
||||
mEnvBlock = envBlock;
|
||||
mHotSwapEnabled = hotSwapEnabled;
|
||||
mDebugTarget = new DebugTarget(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue