protected override void Run() { FunctionBreakpoint bp = new FunctionBreakpoint("", "C#"); if (DebuggingService.ShowBreakpointProperties(bp, true)) { DebuggingService.Breakpoints.Add(bp); } }
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); } }
protected override void Run () { BreakEvent bp = null; if (DebuggingService.ShowBreakpointProperties (ref bp, BreakpointType.Catchpoint)) { var breakpoints = DebuggingService.Breakpoints; lock (breakpoints) breakpoints.Add (bp); } }
protected override void Run() { BreakEvent bp = null; if (DebuggingService.ShowBreakpointProperties(ref bp, BreakpointType.Function)) { var breakpoints = DebuggingService.Breakpoints; breakpoints.Add(bp); } }
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(); } } }
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(); } } }
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); } }
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); } }