setBreakpointState method

  1. @override
Future<Breakpoint> setBreakpointState(
  1. String isolateId,
  2. String breakpointId,
  3. bool enable
)
override

The setBreakpointState RPC allows for breakpoints to be enabled or disabled, without requiring for the breakpoint to be completely removed.

If isolateId refers to an isolate which has exited, then the Collected Sentinel is returned.

The returned Breakpoint is the updated breakpoint with its new values.

See Breakpoint.

Implementation

@override
Future<Breakpoint> setBreakpointState(
        String isolateId, String breakpointId, bool enable) =>
    _call('setBreakpointState', {
      'isolateId': isolateId,
      'breakpointId': breakpointId,
      'enable': enable
    });