| 1016 | } |
| 1017 | |
| 1018 | void WinDebugger::OpenFile(const StringImpl& launchPath, const StringImpl& targetPath, const StringImpl& args, const StringImpl& workingDir, const Array<uint8>& envBlock, bool hotSwapEnabled, DbgOpenFileFlags openFileFlags) |
| 1019 | { |
| 1020 | BF_ASSERT(!mIsRunning); |
| 1021 | mLaunchPath = launchPath; |
| 1022 | mTargetPath = targetPath; |
| 1023 | mArgs = args; |
| 1024 | mWorkingDir = workingDir; |
| 1025 | mEnvBlock = envBlock; |
| 1026 | mHotSwapEnabled = hotSwapEnabled; |
| 1027 | mOpenFileFlags = openFileFlags; |
| 1028 | mDebugTarget = new DebugTarget(this); |
| 1029 | } |
| 1030 | |
| 1031 | bool WinDebugger::Attach(int processId, BfDbgAttachFlags attachFlags) |
| 1032 | { |