public override IProcessAsyncOperation Execute (ExecutionCommand command, IConsole console) { DummyProcessAsyncOperation dpao = new DummyProcessAsyncOperation (process); string profilerIdentifier, tempFile, snapshotFile; ProfilingService.GetProfilerInformation (process.Id, out profilerIdentifier, out tempFile); DotNetExecutionCommand dotcmd = (DotNetExecutionCommand) command; snapshotFile = profiler.GetSnapshotFileName (dotcmd.WorkingDirectory, tempFile); ProfilingService.ActiveProfiler = profiler; ProfilingContext profContext = new ProfilingContext (dpao, snapshotFile); profiler.Start (profContext); return dpao; }