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

Unified Diff: src/debug/debug.h

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)
Patch Set: fixed 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 | « src/api.cc ('k') | src/debug/debug.cc » ('j') | src/debug/debug.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index 19f89a0e2743a383e0efdf6e2c94e389a1f0647c..b0bfc792afa954abc16e47272943dfeafc02e5b6 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -351,7 +351,7 @@ class Debug {
// Support for LiveEdit
void ScheduleFrameRestart(StackFrame* frame);
- bool IsFrameBlackboxed(JavaScriptFrame* frame);
+ bool HasNonBlackboxedFrameOnStack();
dgozman 2017/03/03 19:47:06 Let's have AllFramesOnStackAreBlackboxed() - less
kozy 2017/03/03 23:14:02 Done.
// Threading support.
char* ArchiveDebug(char* to);
@@ -487,6 +487,8 @@ class Debug {
// Clear all one-shot instrumentations, but restore break points.
void ClearOneShot();
+ bool IsFrameBlackboxed(JavaScriptFrame* frame);
+
void ActivateStepOut(StackFrame* frame);
void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info);
MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info,
@@ -599,8 +601,9 @@ class Debug {
class LegacyDebugDelegate : public v8::debug::DebugDelegate {
public:
explicit LegacyDebugDelegate(Isolate* isolate) : isolate_(isolate) {}
- void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id,
- int parent_id) override;
+ void PromiseEventOccurred(v8::Local<v8::Context> context,
+ v8::debug::PromiseDebugActionType type, int id,
+ int parent_id, bool created_by_user) override;
void ScriptCompiled(v8::Local<v8::debug::Script> script,
bool has_compile_error) override;
void BreakProgramRequested(v8::Local<v8::Context> paused_context,
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | src/debug/debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698