[Webkit-unassigned] [Bug 74107] Web Inspector: [protocol] Debugger.setScriptSource response should include "stepInRecommended" field
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 23 10:25:57 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=74107
--- Comment #2 from Peter Rybin <peter.rybin at gmail.com> 2012-04-23 10:25:54 PST ---
Steps to demonstrate.
1. In JavaScript debugger stop in any multi-line multi-statement function.
For example at site http://www.artlebedev.ru/ in script "colors.js" put a breakpoint in function "hsv2rgb" at any statement but last, debugger will stop there promptly.
2. Note the stack structure.
For example:
-> hsv2rgb
- SetLogoColor
- SlightlyAlterColor
3. Modify body of the function you stopped in (in this example "hsv2rgb") and press Ctrl+S.
4. Top function gets dropped from the stack. Cursor is now at the previous function (in this example "SetLogoColor").
5. Try "Step over" debugger action.
Expected:
Cursor moved to the next statement within the current function ("SetLogoColor") or leaves it if it was the last statement.
Actual:
Execution jumps inside original function ("hsv2rgb") as if user pressed "Step in" instead of "Step over".
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list