Summary: Stepping over/out of a function sometimes resumes instead of taking you to caller Steps to Reproduce: 1. Inspect http://bogojoker.com/shell 2. Set a breakpoint of "if (autoplay)" line in easySlider.min.js 3. Trigger breakpoint by clicking down arrow on page 4. Step Out => Expected to pause in caller, did not Notes: - Step-out reproduces the issue - Step-over (at the end of the function) reproduces the issue - Step-in (at the end of the function) DOES NOT reproduce the issue, it behaves as expected
<rdar://problem/28569982>
Created attachment 290364 [details] [PATCH] Proposed Fix
Comment on attachment 290364 [details] [PATCH] Proposed Fix r=me. I'll come take a look at the original test case with you.
Comment on attachment 290364 [details] [PATCH] Proposed Fix Thanks to Mark I was able to add a test case.
Created attachment 290404 [details] [PATCH] For Landing (With Test)
Comment on attachment 290404 [details] [PATCH] For Landing (With Test) View in context: https://bugs.webkit.org/attachment.cgi?id=290404&action=review > LayoutTests/inspector/debugger/stepping/stepping-pause-in-inner-step-to-parent.html:6 > +<button id="button">Click</button> Err, I can remove this button! Will land manually.
<https://trac.webkit.org/changeset/206693>