public IDebugJob CreateJob(ConsoleLog console) { var process = JobFactoryHelpers.TryResolveTargetProcess(RunningProcess, console); var debugTarget = new DebugRunningProcess(process, DebugMode.Snapshot); var fullDumpFilePath = JobFactoryHelpers.ValidateDumpFilePathForOutput(GetDumpFilePath(process), OverwriteDumpFileIfExists); return(new DumpMemoryJob(debugTarget, fullDumpFilePath) { OverwriteDumpFileIfExists = OverwriteDumpFileIfExists }); }
public DumpMemoryJob(DebugRunningProcess target, string dumpFilePath) { DumpFilePath = dumpFilePath; this.target = target; }