DescriptionDebugging in kernel shaping up.
This introduces
- a list of valid token positions, so debugging actually
starts to work, and the observatory can be loaded without crash.
- a list of valid yield positions, so stepping over await stuff
works as expected.
- Adding "DebugStepCheckInstr" to the kernel generated il so stepping
over await stuff works as expected, we can break in empty methods etc.
With this, approximately 80% of the service tests pass in kernel mode.
R=kmillikin@google.com
Committed: https://github.com/dart-lang/sdk/commit/2d5147be9d7435c06dd892d145d8717b6d1f62d5
Committed: https://github.com/dart-lang/sdk/commit/e7766c950eafabfd631d693902483a13bf3bfac7
Patch Set 1 #
Total comments: 30
Patch Set 2 : Changes based on feedback #Patch Set 3 : Changed to kMaxInt32 #
Total comments: 1
Patch Set 4 : Changed to TokenPosition::kMaxSourcePos #
Messages
Total messages: 14 (4 generated)
|