• Eric Leese's avatar
    Report real module in addition to fake scripts · 6ec6ed9c
    Eric Leese authored
    Currently the inspector reports Wasm in one of two ways:
     - If there is a source map, report one script per Wasm script, with
       bytecode but no source.
     - If there is no source map, report one script per Wasm function, with
       source (Wasm disassembly) but no bytecode.
    
    With this change, behavior with source map is same, but without source
    map it will report both ways. This will allow us to change the frontend
    to do its own disassembly, allowing us to remove the per-function scripts
    in a future change.
    
    Bug: chromium:1013527
    Change-Id: I0c559ad08896e8d0da419e3c6ad8d1edff3976fc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1899782Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Eric Leese <leese@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64980}
    6ec6ed9c
v8-debugger-agent-impl.cc 67.3 KB