• sgjesse@chromium.org's avatar
    Whenever a script object is created it is assigned a unique id. Currently this... · 9d17b0d4
    sgjesse@chromium.org authored
    Whenever a script object is created it is assigned a unique id. Currently this id is assigned from an 32 bit integer counter.
    
    Changed the script break points to be able to handle both break points based on script names and script ids. When break points are set through a script id the position is relative to the script itself. This is different from the script break points set through script names where the line/coulmn offset is taken into account.
    
    This has the side effect that function break points are not converted into script break points for named scripts.
    
    Show the script id in the D8 shell debugger when listing all scripts using the 'scripts' command.
    Review URL: http://codereview.chromium.org/40317
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1468 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    9d17b0d4
debug-script-breakpoints.js 4.74 KB