示例#1
0
        public Debugger(string projectFile, IEnumerable <string> targets)
        {
            Analyzer = new ProjectAnalyzer(projectFile);
            var breakTargets = targets;

            if (!breakTargets.Any())
            {
                breakTargets = Analyzer.GetDefaultTargets();
            }
            foreach (var target in breakTargets)
            {
                SetBreakpoint(target, BreakpointPosition.Start);
            }
        }
示例#2
0
 public TargetTree(ProjectAnalyzer analyzer)
 {
     this.analyzer = analyzer;
 }