Click or drag to resize

TaskEnvironmentDebuggerType Property

Gets or sets the type of the debugger used by the host process to attach itself to Visual Studio.

Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 2.9.0.1601 (2.9.0.1601)
Syntax
public DebuggerType DebuggerType { get; set; }

Property Value

Type: DebuggerType
The type of the debugger.
Examples
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;
}
See Also

STK Parallel Computing Server 2.9 API for .NET