Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Issue 1641793002: Fix a bug where breakpoints where not getting properly deleted. (Closed)

Created:
4 years, 11 months ago by turnidge
Modified:
4 years, 11 months ago
Reviewers:
Cutch, hausner
CC:
reviews_dartlang.org, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix a bug where breakpoints where not getting properly deleted. This bug was causing it to be impossible to single-step to locations which had deleted breakpoints. In fixing this problem, another issue was exposed, where, if we single step while at a breakpoint, we would hit the same pc twice in the debugger. I have added a "skip step" mechanism which allows us to skip the next single-step after a breakpoint. Added a test. Closes #25465 R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/bf130de6c0fda66ac711b0e21d9db3c714f71444

Patch Set 1 #

Patch Set 2 : code review #

Patch Set 3 : move branch #

Patch Set 4 : reorder line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -10 lines) Patch
A runtime/observatory/tests/service/issue_25465_test.dart View 1 chunk +71 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/debugger.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 7 chunks +17 lines, -8 lines 0 comments Download
M runtime/vm/isolate.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
turnidge
4 years, 11 months ago (2016-01-27 18:52:45 UTC) #3
Cutch
lgtm
4 years, 11 months ago (2016-01-27 19:13:20 UTC) #4
hausner
DBC: you could make the skip_step 'hack' a bit more local if you define the ...
4 years, 11 months ago (2016-01-27 19:22:44 UTC) #6
turnidge
On 2016/01/27 19:22:44, hausner wrote: > DBC: you could make the skip_step 'hack' a bit ...
4 years, 11 months ago (2016-01-27 19:39:30 UTC) #7
turnidge
4 years, 11 months ago (2016-01-27 19:50:00 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
bf130de6c0fda66ac711b0e21d9db3c714f71444 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698