NEW 162846
Web Inspector: Improve the experience of stepping in and out of getters/setters
https://bugs.webkit.org/show_bug.cgi?id=162846
Summary Web Inspector: Improve the experience of stepping in and out of getters/setters
Joseph Pecoraro
Reported 2016-10-01 16:28:56 PDT
Summary: Improve the experience of stepping in and out of getters/setters Test: <script> var obj = { get foo() { return { get bar() { return 100; } } } } debugger; var value = obj.foo.bar; </script> Steps to Reproduce: 1. Load test page 2. Reload to pause on debugger statement 3. Step through the foo and bar getters => Not clear how we are advancing through the program Notes: - Chrome and Firefox are also very unclear - Edge takes you back out to `obj.foo.bar` when leaving foo and before entering bar, however when it does it is still unclear where in the line you are unless you know. - I think the best experience would probably involve a pause when leaving a getter so the user can get context for what just happened. - Getters are like function calls, but non-obvious so they need a bit of context - Should see what Xcode/lldb do for stepping through getters/setters
Attachments
Radar WebKit Bug Importer
Comment 1 2016-10-01 16:29:06 PDT
Note You need to log in before you can comment on or make changes to this bug.