SphereStudio.Project.SetBreakpoints C# (CSharp) Method

SetBreakpoints() public method

public SetBreakpoints ( string scriptPath, int lineNumbers ) : void
scriptPath string
lineNumbers int
return void
        public void SetBreakpoints(string scriptPath, int[] lineNumbers)
        {
            _breakpoints[scriptPath] = new HashSet<int>(lineNumbers);
            foreach (var k in _breakpoints.Keys)
            {
                User.SetValue(string.Format("breakpointsSet:{0:X8}", k.GetHashCode()),
                    string.Join(",", _breakpoints[k]));
            }
        }