public bool ToggleBreakpoint() { if (!CanToggleBreakpoint) { return(false); } var textView = MainWindow.Instance.ActiveTextView; if (textView == null) { return(false); } var location = textView.TextEditor.TextArea.Caret.Location; BreakpointHelper.Toggle(textView, location.Line, location.Column); return(true); }
internal void Toggle(DecompilerTextView textView, int line, int column = 0) { BreakpointHelper.Toggle(textView, line, column); }