Example #1
0
 public void AddStepIndex(string scriptName, int stepIndex)
 {
     //scriptName = scriptName.Substring(0, scriptName.IndexOf("."));
     var bko = (from bk in BreakPointObjList where bk.SriptName == scriptName select bk).FirstOrDefault();
     if (bko != null)
     {
         bko.AddStepIndex(stepIndex);
     }
     else
     {
         var bk = new BreakPointObj(scriptName);
         bk.AddStepIndex(stepIndex);
         BreakPointObjList.Add(bk);
     }
 }
Example #2
0
 public BreakPointObj(BreakPointObj bko)
 {
     SriptName = bko.SriptName;
     StepIndexList = bko.GetStepsIndexs();
     Enable = true;
 }