Mono.JavaScript.Node.Debugger.NodeDebuggerSession.OnGetThreads C# (CSharp) Method

OnGetThreads() protected method

protected OnGetThreads ( long processId ) : ThreadInfo[]
processId long
return ThreadInfo[]
        protected override ThreadInfo[] OnGetThreads(long processId)
        {
            List<ThreadInfo> list = new List<ThreadInfo> ();
            // node debugger has no threading operation, so allways return 0.
            list.Add (GetThread (0));
            /*
            ResultData data = RunCommand ("-thread-list-ids").GetObject ("thread-ids");
            foreach (string id in data.GetAllValues ("thread-id"))
                list.Add (GetThread (long.Parse (id)));
            */
            return list.ToArray ();
        }