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

Issue 604495 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug-Regression



Sign in to add a comment

[DevTools] StepOver doesn't pause after caught exception

Project Member Reported by kozyatinskiy@chromium.org, Apr 18 2016

Issue description

What steps will reproduce the problem?
(1) Run following code in Console:
function foo()
{
  try { throw new Error(); } catch (e) {}
}
debugger;
foo();
console.log(239);
(2) Cick Step Over twice

What is the expected output?
Pause on console.log(239) call.

What do you see instead?
Execution is resumed.


Please use labels and text to provide additional information.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/de5aaad638b7769457c50737cef50423b9bd0d6e

commit de5aaad638b7769457c50737cef50423b9bd0d6e
Author: kozyatinskiy <kozyatinskiy@chromium.org>
Date: Tue Apr 19 15:28:49 2016

[Debugger] Fix StepNext over function with caught exception

Without CL debugger on StepNext adds breakpoint to function where throw instruction is located. In case of StepNext we will skip pause in this function because StepNext shouldn't break in a deeper frame.

BUG= chromium:604495 
R=yangguo@chromium.org
LOG=N

Review URL: https://codereview.chromium.org/1894263002

Cr-Commit-Position: refs/heads/master@{#35627}

[modify] https://crrev.com/de5aaad638b7769457c50737cef50423b9bd0d6e/src/debug/debug.cc
[modify] https://crrev.com/de5aaad638b7769457c50737cef50423b9bd0d6e/test/cctest/test-debug.cc

Status: Fixed (was: Assigned)
Cc: kozyatinskiy@chromium.org
 Issue 610003  has been merged into this issue.

Sign in to add a comment