setLibraryDebuggable method

  1. @override
Future<Success> setLibraryDebuggable(
  1. String isolateId,
  2. String libraryId,
  3. bool isDebuggable
)
override

The setLibraryDebuggable RPC is used to enable or disable whether breakpoints and stepping work for a given library.

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

See Success.

This method will throw a SentinelException in the case a Sentinel is returned.

Implementation

@override
Future<Success> setLibraryDebuggable(
        String isolateId, String libraryId, bool isDebuggable) =>
    _call('setLibraryDebuggable', {
      'isolateId': isolateId,
      'libraryId': libraryId,
      'isDebuggable': isDebuggable
    });