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

Unified Diff: src/inspector/v8-debugger-agent-impl.h

Issue 2678313002: [inspector] support for nested scheduled breaks (Closed)
Patch Set: reverted not related changes Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/inspector/v8-debugger-agent-impl.cc » ('j') | src/inspector/v8-debugger-agent-impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/v8-debugger-agent-impl.h
diff --git a/src/inspector/v8-debugger-agent-impl.h b/src/inspector/v8-debugger-agent-impl.h
index d5b174a76c8a546e0a0f2c8d901fec613bd31e29..b5b2e039bfc4cfd55e4eb0e20d3a32b891acc8b8 100644
--- a/src/inspector/v8-debugger-agent-impl.h
+++ b/src/inspector/v8-debugger-agent-impl.h
@@ -191,8 +191,15 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend {
BreakpointIdToDebuggerBreakpointIdsMap m_breakpointIdToDebuggerBreakpointIds;
DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints;
String16 m_continueToLocationBreakpointId;
- String16 m_breakReason;
- std::unique_ptr<protocol::DictionaryValue> m_breakAuxData;
+
+ std::vector<String16> m_breakReason;
pfeldman 2017/02/07 19:01:05 typedef a pair for reason + auxdata
kozy 2017/02/07 22:54:36 Done.
+ std::vector<std::unique_ptr<protocol::DictionaryValue>> m_breakAuxData;
+
+ void pushBreakDetails(
+ const String16& breakReason,
+ std::unique_ptr<protocol::DictionaryValue> breakAuxData);
+ void popBreakDetails();
+
DebuggerStep m_scheduledDebuggerStep;
bool m_javaScriptPauseScheduled;
« no previous file with comments | « no previous file | src/inspector/v8-debugger-agent-impl.cc » ('j') | src/inspector/v8-debugger-agent-impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698