/// <summary> /// Initialize the debugger /// </summary> /// <param name="algorithmNodePacket">The algorithm node packet</param> /// <param name="workerThread">The worker thread instance to use</param> public static bool InitializeDebugging(AlgorithmNodePacket algorithmNodePacket, WorkerThread workerThread) { var isolator = new Isolator(); return(isolator.ExecuteWithTimeLimit(TimeSpan.FromMinutes(5), () => DebuggerHelper.Initialize(algorithmNodePacket.Language), algorithmNodePacket.RamAllocation, sleepIntervalMillis: 100, workerThread: workerThread)); }