Skip to content

Conversation

grouma
Copy link
Member

@grouma grouma commented Sep 5, 2019

Closes #629

  • Add verification to Event and Stack objects
  • Add new RunResponse which is used to properly set the Isolate state
  • Now set the pauseEvent state on Isolate creation
  • Fix an issue where our module strategy logic broke with the latest Dart2JS
    • We were passing "require" instead of require

@grouma grouma requested a review from jakemac53 September 5, 2019 23:06
@grouma grouma requested a review from alan-knight September 5, 2019 23:35
..kind = EventKind.kBreakpointAdded
Event(
kind: EventKind.kBreakpointAdded,
timestamp: DateTime.now().millisecondsSinceEpoch)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do a lot of these. If we've got our own Event subclass, maybe it could just set the timestamp and the isolate automatically?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple locations we share the timestamp with other events so I'm going to keep it as is for now.

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

Successfully merging this pull request may close these issues.

Isolate should start with pauseEvent.kind of PauseStart instead of Resume
2 participants