Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Exception when resume from breakpoint #583

Open
danrubel opened this issue Jul 14, 2016 · 1 comment
Open

Exception when resume from breakpoint #583

danrubel opened this issue Jul 14, 2016 · 1 comment

Comments

@danrubel
Copy link
Contributor

danrubel commented Jul 14, 2016

In Atom,

  • open samples/general/hello.dart
  • set 3 breakpoints
  • select hello.dart in the run app dropdown
  • click the gear to the left of the run app dropdown
  • add debug: true under dartino: in the hello.yaml file to enable debugging for this app
  • run hello.dart in Atom
  • when you hit a breakpoint, click the resume button.

On the 2nd resume, this exception occurs...

The Dartino program is broken and has crashed.

The Dartino team would greatly appreciate if you would take a moment to
report this problem at https://github.com/dartino/sdk/issues/new

Please include the following information:

* Linux OS

* the Dartino SDK version (0.5.0-edge.8fee4a1b16ad0cb5dcbcc9a67e23ac7e1fee000f)

* the entire message you see here (including the full stack trace below)

Bad state: Already waiting for next.
#0      _StreamIteratorImpl.moveNext (dart:async/stream_impl.dart:996)
#1      DartinoVmContext.readNextCommand.<readNextCommand_async_body> (package:dartino_compiler/vm_context.dart:248:58)
#2      Future.Future.microtask.<anonymous closure> (dart:async/future.dart:144)
#3      _rootRun (dart:async/zone.dart:895)
#4      _CustomZone.run (dart:async/zone.dart:790)
#5      _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:723)
#6      _microtaskLoop (dart:async/schedule_microtask.dart:41)
#7      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#8      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)

Session 'local' was terminated.

exited with code 253
debug session exit code is 253
10 issues1 processgeneral/hello.dart13:6
LFUTF-8Dartdebugging
Plugin status
References
@sgjesse
Copy link
Contributor

sgjesse commented Aug 1, 2016

@danrubel Does this also happen int the command-line debugger?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants