New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 812038 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: UI solution for breakpoint and blackboxing

Reported by roblour...@gmail.com, Feb 14 2018

Issue description

Chrome Version       : 64.0.3282.140
OS Version: OS X 10.13.2
URLs (if applicable) :

What steps will reproduce the problem?
1. Mark a script as blackboxed
2. Set a breakpoint in the script
3. Hit the breakpoint
4. Step

What is the expected result?
I should step to the next line of this blackboxed script


What happens instead of that?
Execution continues out of the blackboxed script


Previously (not sure which Chrome version but I see it in Node 7.10 at least) if I hit a breakpoint in a blackboxed script, then stepped, I would be able to step line by line through that script. I like this behavior because if I hit a breakpoint in a script, then I intend to debug that script. So I'm not sure whether this is a design change or a regression.
 

Comment 1 by ajha@chromium.org, Feb 14 2018

Labels: Needs-Triage-M64
Cc: sindhu.chelamcherla@chromium.org
Components: Platform>DevTools>JavaScript
Labels: Triaged-ET Needs-Feedback
Unable to reproduce this issue on reported version 64.0.3282.140 using Mac 10.13.3 with below steps.

1. Launched chorme://version and opened devtools sources tab.
2. Blackboxed script, set breakpoint, now clicked on step funnction -- observed step to next line. Attaching screencast for reference.

@Reporter: Please check the video and let us know if we miss anything? If possible please guide us with a video on how to reproduce this issue? This would help in better triaging of the issue.

Thanks!
812038.mp4
1.8 MB View Download
You set a breakpoint in version.js, then paused in util.js, so that does not show the issue. I've attached a video where I set a breakpoint in util.js, blackbox util.js, and I repro the issue.
Feb-14-2018 11-39-19.mp4
5.8 MB View Download
Owner: kozy@chromium.org
Status: Assigned (was: Unconfirmed)
This is intended behavior. Aleksey, we should make the UI suggest to unblackbox this file (temporary?) for stepping.
Summary: DevTools: UI solution for breakpoint and blackboxing (was: Can't step through blackboxed script when breakpoint is hit)

Sign in to add a comment