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

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

Issue 2748503002: [inspector] changed a way of preserving stepping between tasks (Closed)
Patch Set: rebased on tunned stepping at return Created 3 years, 9 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 | « src/inspector/v8-console.cc ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/v8-debugger.h
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h
index 2bdacb12df3997ee34b357ca2f3f8b618109ebe4..12d6ca385610bcd309ca99688376b9aba3a2f2a4 100644
--- a/src/inspector/v8-debugger.h
+++ b/src/inspector/v8-debugger.h
@@ -41,13 +41,14 @@ class V8Debugger : public v8::debug::DebugDelegate {
v8::debug::ExceptionBreakState getPauseOnExceptionsState();
void setPauseOnExceptionsState(v8::debug::ExceptionBreakState);
- void setPauseOnNextStatement(bool);
bool canBreakProgram();
void breakProgram();
void continueProgram();
- void stepIntoStatement();
- void stepOverStatement();
- void stepOutOfFunction();
+
+ void setPauseOnNextStatement(bool, int targetContextGroupId);
+ void stepIntoStatement(int targetContextGroupId);
+ void stepOverStatement(int targetContextGroupId);
+ void stepOutOfFunction(int targetContextGroupId);
Response setScriptSource(
const String16& sourceID, v8::Local<v8::String> newSource, bool dryRun,
@@ -162,6 +163,7 @@ class V8Debugger : public v8::debug::DebugDelegate {
bool m_runningNestedMessageLoop;
int m_ignoreScriptParsedEventsCounter;
bool m_scheduledOOMBreak = false;
+ int m_targetContextGroupId = 0;
using AsyncTaskToStackTrace =
protocol::HashMap<void*, std::unique_ptr<V8StackTraceImpl>>;
« no previous file with comments | « src/inspector/v8-console.cc ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698