• Seth Brenith's avatar
    [tools][torque] Include string values in GetObjectProperties responses · 2ccca6c5
    Seth Brenith authored
    This change provides a quick way to see string contents in postmortem
    debugging sessions, without digging through a (possibly very large, in
    the case of ConsString) tree of properties. As well as being convenient
    for inspecting String objects, this functionality will also be necessary
    for displaying property names on JSReceiver objects. In order to support
    custom behaviors for specific classes, this change extends the existing
    generated debug reader classes with a visitor pattern.
    
    Bug: v8:9376
    Change-Id: I70eab9ea4e74ca0fab39bf5998d6a602716a4202
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1771939Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
    Cr-Commit-Position: refs/heads/master@{#63485}
    2ccca6c5
get-object-properties.cc 22.5 KB