Ejemplo n.º 1
0
        protected override void Run()
        {
            FunctionBreakpoint bp = new FunctionBreakpoint("", "C#");

            if (DebuggingService.ShowBreakpointProperties(bp, true))
            {
                DebuggingService.Breakpoints.Add(bp);
            }
        }
Ejemplo n.º 2
0
        protected override void Run()
        {
            Breakpoint bp = new Breakpoint(IdeApp.Workbench.ActiveDocument.FileName, IdeApp.Workbench.ActiveDocument.Editor.Caret.Line, IdeApp.Workbench.ActiveDocument.Editor.Caret.Column);

            if (DebuggingService.ShowBreakpointProperties(bp, true))
            {
                DebuggingService.Breakpoints.Add(bp);
            }
        }
Ejemplo n.º 3
0
		protected override void Run ()
		{
			BreakEvent bp = null;
			if (DebuggingService.ShowBreakpointProperties (ref bp, BreakpointType.Catchpoint)) {
				var breakpoints = DebuggingService.Breakpoints;

				lock (breakpoints)
					breakpoints.Add (bp);
			}
		}
Ejemplo n.º 4
0
        protected override void Run()
        {
            BreakEvent bp = null;

            if (DebuggingService.ShowBreakpointProperties(ref bp, BreakpointType.Function))
            {
                var breakpoints = DebuggingService.Breakpoints;

                breakpoints.Add(bp);
            }
        }
Ejemplo n.º 5
0
        protected override void Run()
        {
            IList <Breakpoint> brs = DebuggingService.Breakpoints.GetBreakpointsAtFileLine(
                IdeApp.Workbench.ActiveDocument.FileName,
                IdeApp.Workbench.ActiveDocument.Editor.Caret.Line);

            if (brs.Count > 0)
            {
                DebuggingService.ShowBreakpointProperties(brs [0], false);
            }
        }
        protected void OnProperties()
        {
            TreeIter iter;

            if (tree.Selection.GetSelected(out iter))
            {
                Breakpoint bp = (Breakpoint)store.GetValue(iter, (int)Columns.Breakpoint);
                if (DebuggingService.ShowBreakpointProperties(bp, false))
                {
                    UpdateDisplay();
                }
            }
        }
Ejemplo n.º 7
0
        protected void OnProperties()
        {
            var      selected = tree.Selection.GetSelectedRows();
            TreeIter iter;

            if (selected.Length == 1 && store.GetIter(out iter, selected[0]))
            {
                BreakEvent bp = (BreakEvent)store.GetValue(iter, (int)Columns.Breakpoint);
                if (DebuggingService.ShowBreakpointProperties(ref bp))
                {
                    UpdateDisplay();
                }
            }
        }
Ejemplo n.º 8
0
        protected override void Run()
        {
            var breakpoints = DebuggingService.Breakpoints;
            IList <Breakpoint> brs;

            brs = breakpoints.GetBreakpointsAtFileLine(
                IdeApp.Workbench.ActiveDocument.FileName,
                IdeApp.Workbench.ActiveDocument.GetContent <ITextView> (true).MDCaretLine());

            if (brs.Count > 0)
            {
                BreakEvent be = brs [0];
                DebuggingService.ShowBreakpointProperties(ref be);
            }
        }
Ejemplo n.º 9
0
		protected override void Run ()
		{
			var breakpoints = DebuggingService.Breakpoints;
			IList<Breakpoint> brs;

			lock (breakpoints) {
				brs = breakpoints.GetBreakpointsAtFileLine (
					IdeApp.Workbench.ActiveDocument.FileName,
					IdeApp.Workbench.ActiveDocument.Editor.CaretLine);
			}

			if (brs.Count > 0) {
				BreakEvent be = brs [0];
				DebuggingService.ShowBreakpointProperties (ref be);
			}
		}