Contains data for a BreakpointChanged event.
Inheritance: System.EventArgs
Esempio n. 1
0
 private async void on_BreakpointSet(object sender, BreakpointChangedEventArgs e)
 {
     if (FileName == null) return;
     ScriptView view = View as ScriptView;
     Core.Project.SetBreakpoints(FileName, view.Breakpoints);
     if (_ide.Debugger != null)
     {
         if (e.Active)
             await _ide.Debugger.SetBreakpoint(FileName, e.LineNumber);
         else
             await _ide.Debugger.ClearBreakpoint(FileName, e.LineNumber);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Fires a BreakpointChanged event for this ScriptView.
 /// </summary>
 /// <param name="e"></param>
 protected void OnBreakpointChanged(BreakpointChangedEventArgs e)
 {
     if (BreakpointChanged != null) BreakpointChanged(this, e);
 }