• yangguo's avatar
    [debugger] reapply break points after clearing one shots. · 808981a2
    yangguo authored
    On the debug info, we have a list of existing break points.  When we
    step in the debugger, we flood the function with one-shot break points.
    Afterwards, we clear these one-shots by clearing all break locations.
    
    Previously, while clearing break locations, we would skip ones that have
    actual break points. Now we clear all break locations, and then reapply
    break points. This is necessary for the next step, when we encode break
    point info by source position, and not code offset. Encoding by code
    offset would mean that break points are dependent on the code kind we
    use.
    
    R=jgruber@chromium.org
    BUG=v8:5265
    
    Review-Url: https://codereview.chromium.org/2221333002
    Cr-Commit-Position: refs/heads/master@{#38492}
    808981a2
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
x87 Loading commit data...
OWNERS Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
debug.js Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...
liveedit.js Loading commit data...
mirrors.js Loading commit data...