title: How to handle exceptions thrown in Isolates?
body: <p>I'm experimenting with Dart and using the new <a href="http://api.dartlang.org/docs/releases/latest/dart_isolate.html#streamSpawnFunction" rel="nofollow"><code>streamSpawnFunction</code></a> to create a new isolate.</p>
  
  <p>I'm running my code in Dartium but i've noticed that if some kind of unrecoverable error occurs in the isolate i get no error message on the console. Because breakpoints in Isolate code are not working debugging is really painful.</p>
  
  <p>The old Port based Isolate spawn function (<a href="http://api.dartlang.org/docs/releases/latest/dart_isolate.html#spawnFunction" rel="nofollow"><code>spawnFunction</code></a>) has a callback function for handling errors. I wonder why this is not available with <code>streamSpawnFunction</code>. Is there a new way to subscribe to the error events of an Isolate?</p>