DescriptionMake sure debugger is ready for breakpoins when we process 'debugger' statement.
On 'debugger' statement, if anything in debugger calls 'EnsureDebugInfo'
on a function, EnsureDebugInfo would compile and substitute code without
debug break slots. This causes weird behavior later when stepping fails
to work (see added test as an example).
This fix is to make sure the debugger is prepared for breakpoints in
that case as well.
Also adds extra testing for bug 468661.
R=yangguo@chromium.org,yurys@chromium.orh
BUG=v8:3990, chromium:468661
LOG=N
Committed: https://crrev.com/15ef61d46801eaf31ff6ebaa34dfe9f9d9697a47
Cr-Commit-Position: refs/heads/master@{#27502}
Patch Set 1 #
Total comments: 2
Patch Set 2 : CR feedback #
Total comments: 2
Patch Set 3 : Rebasing patch 1 #Patch Set 4 : TODO to clean-up threading issues added #
Messages
Total messages: 18 (3 generated)
|