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

Issue 114033002: DevTools: Capture async stacks for event listeners. (Closed)

Created:
7 years ago by aandrey
Modified:
7 years ago
Reviewers:
yurys, pfeldman
CC:
blink-reviews, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, Nils Barth (inactive), caseq+blink_chromium.org, kojih, arv+blink, yurys+blink_chromium.org, abarth-chromium, marja+watch_chromium.org, devtools-reviews_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, haraken, Nate Chapin, jsbell+bindings_chromium.org, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, Inactive, watchdog-blink-watchlist_google.com
Visibility:
Public.

Description

DevTools: Capture async stacks for event listeners. BUG=272416 R=yurys@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164080

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebased #

Patch Set 4 : construct event description #

Total comments: 2

Patch Set 5 : deal with nested async calls #

Total comments: 16

Patch Set 6 : addressed, rebased #

Patch Set 7 : addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -53 lines) Patch
M LayoutTests/inspector/debugger/async-callstack.html View 1 2 3 4 4 chunks +17 lines, -1 line 0 comments Download
M LayoutTests/inspector/debugger/async-callstack-expected.txt View 1 2 3 4 1 chunk +49 lines, -14 lines 0 comments Download
M Source/core/events/EventTarget.cpp View 4 chunks +9 lines, -2 lines 0 comments Download
M Source/core/inspector/AsyncCallStackTracker.h View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M Source/core/inspector/AsyncCallStackTracker.cpp View 1 2 3 4 5 6 7 chunks +124 lines, -13 lines 0 comments Download
M Source/core/inspector/InspectorDOMDebuggerAgent.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorDOMDebuggerAgent.cpp View 2 chunks +8 lines, -9 lines 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.h View 1 2 3 4 5 4 chunks +8 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.cpp View 1 2 3 4 5 6 2 chunks +38 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.h View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.cpp View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.idl View 1 2 3 1 chunk +11 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
aandrey
PTAL
7 years ago (2013-12-12 15:43:41 UTC) #1
yurys
https://codereview.chromium.org/114033002/diff/60001/Source/core/inspector/InspectorDebuggerAgent.cpp File Source/core/inspector/InspectorDebuggerAgent.cpp (right): https://codereview.chromium.org/114033002/diff/60001/Source/core/inspector/InspectorDebuggerAgent.cpp#newcode713 Source/core/inspector/InspectorDebuggerAgent.cpp:713: if (m_asyncCallStackTracker.isEnabled()) We should be able to avoid this ...
7 years ago (2013-12-16 15:03:54 UTC) #2
aandrey
https://codereview.chromium.org/114033002/diff/60001/Source/core/inspector/InspectorDebuggerAgent.cpp File Source/core/inspector/InspectorDebuggerAgent.cpp (right): https://codereview.chromium.org/114033002/diff/60001/Source/core/inspector/InspectorDebuggerAgent.cpp#newcode713 Source/core/inspector/InspectorDebuggerAgent.cpp:713: if (m_asyncCallStackTracker.isEnabled()) On 2013/12/16 15:03:55, yurys wrote: > We ...
7 years ago (2013-12-16 15:20:21 UTC) #3
yurys
https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (left): https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp#oldcode128 Source/core/inspector/AsyncCallStackTracker.cpp:128: ASSERT(!m_currentAsyncCallChain); Why did you remove this assert? Can it ...
7 years ago (2013-12-17 13:01:58 UTC) #4
aandrey
https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (left): https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp#oldcode128 Source/core/inspector/AsyncCallStackTracker.cpp:128: ASSERT(!m_currentAsyncCallChain); On 2013/12/17 13:01:59, yurys wrote: > Why did ...
7 years ago (2013-12-17 13:07:48 UTC) #5
aandrey
PTAL https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (left): https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp#oldcode128 Source/core/inspector/AsyncCallStackTracker.cpp:128: ASSERT(!m_currentAsyncCallChain); On 2013/12/17 13:01:59, yurys wrote: > Why ...
7 years ago (2013-12-17 13:24:02 UTC) #6
yurys
https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/InspectorDebuggerAgent.cpp File Source/core/inspector/InspectorDebuggerAgent.cpp (right): https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/InspectorDebuggerAgent.cpp#newcode718 Source/core/inspector/InspectorDebuggerAgent.cpp:718: { On 2013/12/17 13:07:48, aandrey wrote: > On 2013/12/17 ...
7 years ago (2013-12-18 09:20:10 UTC) #7
yurys
https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (left): https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp#oldcode128 Source/core/inspector/AsyncCallStackTracker.cpp:128: ASSERT(!m_currentAsyncCallChain); On 2013/12/17 13:07:48, aandrey wrote: > On 2013/12/17 ...
7 years ago (2013-12-18 09:22:14 UTC) #8
aandrey
PTAL https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (left): https://codereview.chromium.org/114033002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp#oldcode128 Source/core/inspector/AsyncCallStackTracker.cpp:128: ASSERT(!m_currentAsyncCallChain); On 2013/12/18 09:22:15, yurys wrote: > On ...
7 years ago (2013-12-18 09:32:08 UTC) #9
yurys
Cool, LGTM!
7 years ago (2013-12-18 09:57:53 UTC) #10
aandrey
7 years ago (2013-12-18 10:10:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 manually as r164080 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698