* Make test Dart2 compliant * Use service and debug events instead of polling to wait for isolate to start, run and resume. * Refactor into _onServiceEvent. Wait for 'paused' event instead of 'isolate runnable'.
* Make test Dart2 compliant * Use service and debug events instead of polling to wait for isolate to start, run and resume. * Refactor into _onServiceEvent. Wait for 'paused' event instead of 'isolate runnable'.