[Webkit-unassigned] [Bug 158034] New: Web Inspector: when paused due to "All Exceptions" breakpoint, there's no way to interact with an exception object originating from a native function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 24 11:49:09 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158034

            Bug ID: 158034
           Summary: Web Inspector: when paused due to "All Exceptions"
                    breakpoint, there's no way to interact with an
                    exception object originating from a native function
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

When paused due to "All Uncaught Exceptions", there is often a variable holding the exception, so it's possible to log that to console and poke at it.
However, for "All Exceptions", the debugger pauses at the call site and doesn't show the exception in the locals sidebar, a popover, or anywhere besides the Pause Reason text.

STEPS TO REPRODUCE:

0. Enable pause on "All Exceptions"
1. Type this in the console:

JSON.parse("}}")

EXPECTED:

It shows the Console Evaluation source. It also logs the exception to the console, or makes it appear in a popover next to the call site, or the Pause Reason text is clickable (to log to console).

ACTUAL:

Can't see anything!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160524/0af53eee/attachment-0001.html>


More information about the webkit-unassigned mailing list