New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 610003 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 604495
Owner: ----
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Chrome failing to properly step over throw exceptions that are caught

Reported by freshene...@gmail.com, May 6 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Steps to reproduce the problem:
1. Make an html page with the following content
<script>
    console.log("one")
    test()
    console.log("three")

    function test() {
        try {
            throw new Error("wathever")
        } catch(e) {
            console.log("two")
        }
    }
</script>

2. Set a breakpoint on line two "test()"
3. Try to step over that line

What is the expected behavior?
The dev tools should go to line 3 and wait for you

What went wrong?
The dev tools don't stop on line 3

Did this work before? N/A 

Chrome version: 50.0.2661.94  Channel: stable
OS Version: 6.3
Flash Version: Shockwave Flash 21.0 r0

I'm constantly coming across a bug where chrome stops on the thrown exception inside the catch even tho I do NOT have the "Pause on exceptions" option selected. Its really disruptive to my debugging.
 

Comment 1 by caseq@chromium.org, May 11 2016

Cc: kozyatinskiy@chromium.org
Components: -Platform>DevTools Platform>DevTools>JavaScript
Status: WontFix (was: Unconfirmed)
I could reproduce this on m50, but it works for me on m52 -- so please give it a try on the Canary, looks like this was fixed.
Mergedinto: 604495
Status: Duplicate (was: WontFix)

Sign in to add a comment