mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 00:11:50 +00:00
9a54ccd905
Make sure the debugger finds the closure function containing the body of async functions, but not the synthetic function that generates the future. Change the way the debugger sets one-time breakpoints. Instead of compiling the function and instrumenting all safe-points, set a breakpoint marked as “one-shot” at the beginning of the function and wait until the function is compiled. Then, once it fires, it gets automatically deleted. Finally, be smarter how we resolve breakpoints in compiled code. The compiler rearranges code in await expressions, which tripped up the debugger. This change makes sure we select the lowest compiled code address only within the line containing the requested breakpoint position. R=iposva@google.com Review URL: https://codereview.chromium.org//805573003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42368 260f80e4-7a28-3924-810f-c04153c831b5 |
||
---|---|---|
.. | ||
bin | ||
include | ||
lib | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
CPPLINT.cfg | ||
dart-runtime.gyp | ||
PRESUBMIT.py |