New issue
Advanced search Search tips

Issue 747641 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Feature



Sign in to add a comment

Adding an indicator on stack frames with try/catch blocks in Sources panel

Reported by b...@benalpert.com, Jul 22 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3149.0 Safari/537.36

Steps to reproduce the problem:
If you "pause on caught errors" in the debugger, you might be looking at an error being thrown and want to know what `catch` block will handle this.

Right now, the best way I have to do this is to click on each stack frame in sequence and scan each function to see if it has a `catch` block.

What is the expected behavior?

What went wrong?
It would be very helpful if there was some way to see at a glance which stack frames contain a try/catch block.

It could be an extra icon, a different background/border, or even an extra line of text "Contains try/catch" since it should be relatively rare.

Did this work before? No 

Chrome version: 61.0.3149.0  Channel: n/a
OS Version: OS X 10.12.4
Flash Version:
 
Cc: kkaluri@chromium.org
Labels: -Type-Bug M-62 Type-Feature
Status: Untriaged (was: Unconfirmed)
ben@ Thank You for response, considering this as feature request, marking it as untriage for further triage from dev team.

Comment 2 by caseq@chromium.org, Jul 24 2017

Components: -Platform>DevTools Platform>DevTools>JavaScript
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Untriaged)
Owner: kozy@chromium.org

Sign in to add a comment