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

Issue 22638015: Prevent recursive exception notification in debugger (Closed)

Created:
7 years, 4 months ago by hausner
Modified:
7 years, 4 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, devoncarew, Alan Knight
Visibility:
Public.

Description

Prevent recursive exception notification in debugger Fixes bug 12329. Committed: https://code.google.com/p/dart/source/detail?r=25961

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M runtime/vm/debugger.cc View 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
hausner
TBR=iposva
7 years, 4 months ago (2013-08-09 10:00:19 UTC) #1
hausner
Committed patchset #1 manually as r25961 (presubmit successful).
7 years, 4 months ago (2013-08-09 10:20:01 UTC) #2
Ivan Posva
7 years, 4 months ago (2013-08-09 16:31:34 UTC) #3
Message was sent while issue was closed.
Thanks for the quick turnaround!

This change LGTM, but we should prevent it in general.

-Ivan

https://codereview.chromium.org/22638015/diff/1/runtime/vm/debugger.cc
File runtime/vm/debugger.cc (right):

https://codereview.chromium.org/22638015/diff/1/runtime/vm/debugger.cc#newcod...
runtime/vm/debugger.cc:1072: (*event_handler_)(&event);
I think we should abstract the dispatch to the event handler out and have that
set and reset the in_event_notification status. That way all of the other,
currently unprotected, event_handler calls will automatically be protected from
similar issues.

Powered by Google App Engine
This is Rietveld 408576698