<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Stepping out of a function finishes the line that called it."
href="https://bugs.webkit.org/show_bug.cgi?id=155325">bug 155325</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>mark.lam@apple.com, sbarati@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>webkit-unassigned@lists.webkit.org
</td>
<td>joepeck@webkit.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Stepping out of a function finishes the line that called it."
href="https://bugs.webkit.org/show_bug.cgi?id=155325#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Stepping out of a function finishes the line that called it."
href="https://bugs.webkit.org/show_bug.cgi?id=155325">bug 155325</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>I am using this bug for better debugger stepping in general. Since addressing this and testing it exposed numerous issues the code changes are very small once some general fixes were applied:
- introduce pausing at certain expression locations (call sites)
- this will fix step-in/out and stepping through lines with multiple function calls
- correct, and make consistent, stepping behavior all over the place:
- if/while/for pause locations (e.g. pause before condition, not before "if")
- function stepping pause locations (e.g. remove entry pause, consistent exit pause)
- remove unnecessary pauses (function entry, program entry, throw statement double pause)
- add tests for this area of code that is severely lacking in tests!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>