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

Unified Diff: src/debug/debug.h

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: fixed async/await and added tests 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/bootstrapper.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »
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 315c1723dcd90c510c40a3ee033f3e88fe4dc621..ef155639472d1e648f77c44ca07455be2e2ae967 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -350,7 +350,7 @@ class Debug {
// Support for LiveEdit
void ScheduleFrameRestart(StackFrame* frame);
- bool IsFrameBlackboxed(JavaScriptFrame* frame);
+ bool HasNonBlackboxedFrameOnStack();
// Threading support.
char* ArchiveDebug(char* to);
@@ -483,6 +483,9 @@ class Debug {
// Clear all one-shot instrumentations, but restore break points.
void ClearOneShot();
+ bool HasPromiseBuiltinOnStack();
+ bool IsFrameBlackboxed(JavaScriptFrame* frame);
+
void ActivateStepOut(StackFrame* frame);
void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info);
MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info,
@@ -595,8 +598,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 breakable) 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/bootstrapper.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698