• dslomov's avatar
    Make sure debugger is ready for breakpoins when we process 'debugger' statement. · 15ef61d4
    dslomov authored
    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
    
    Review URL: https://codereview.chromium.org/1032353002
    
    Cr-Commit-Position: refs/heads/master@{#27502}
    15ef61d4
Name
Last commit
Last update
..
regress-2034.js Loading commit data...
regress-2156.js Loading commit data...
regress-2186.js Loading commit data...
regress-2243.js Loading commit data...
regress-2322.js Loading commit data...
regress-2506.js Loading commit data...
regress-2681.js Loading commit data...
regress-2691.js Loading commit data...
regress-2829.js Loading commit data...
regress-2858.js Loading commit data...
regress-3280.js Loading commit data...
regress-3426.js Loading commit data...
regress-347906.js Loading commit data...
regress-3683.js Loading commit data...
regress-3741.js Loading commit data...
regress-3902.js Loading commit data...
regress-3938.js Loading commit data...
regress-411237.js Loading commit data...
regress-468661.js Loading commit data...
regress-cr372788.js Loading commit data...
regress-crbug-248025.js Loading commit data...
regress-crbug-346141.js Loading commit data...