Bug 21944

Summary: Can't set a breakpoint on the statement after a single line "else"
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, kmccullough, oliver, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test
none
Proposed Patch mjs: review+

Description Timothy Hatcher 2008-10-28 23:29:53 PDT
The line that calls test() is never hit.

if (false)
    debugger; // This should not be hit.
else
    test(); // Breakpoints on this line are not hit.
Comment 1 Timothy Hatcher 2008-10-28 23:30:23 PDT
Created attachment 24740 [details]
Test
Comment 2 Timothy Hatcher 2008-10-28 23:47:13 PDT
Created attachment 24741 [details]
Proposed Patch
Comment 3 Maciej Stachowiak 2008-10-28 23:48:40 PDT
Comment on attachment 24741 [details]
Proposed Patch

r=me
Comment 4 Cameron Zwarich (cpst) 2008-10-28 23:51:14 PDT
Comment on attachment 24741 [details]
Proposed Patch

r=me
Comment 5 Timothy Hatcher 2008-10-29 08:02:51 PDT
Landed in r37972.