TaskEnvironmentAttachToDebugger Property |
Namespace: AGI.Parallel.Infrastructure
using (EmbeddedJobScheduler scheduler = new EmbeddedJobScheduler()) { scheduler.Connect(); scheduler.CreateJob(); Job job = scheduler.CreateJob(); job.AddTask(new TaskThatNeedsToBeDebugged()); // Set the AttachToDebugger to true job.TaskEnvironment = new SimpleTaskEnvironment(); job.TaskEnvironment.AttachToDebugger = true; job.TaskEnvironment.DebuggerType = DebuggerType.Managed; }
STK Parallel Computing Server 2.9 API for .NET