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

Unified Diff: src/debug/debug.h

Issue 2738503006: [inspector] don't make v8::debug::Call for breakProgram. (Closed)
Patch Set: fixed tests 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
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index 99a4752fc658b29264afc22b5fb9c3a287de5bba..2413bf915965516e42e240f98087335e5b51ed1f 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -65,6 +65,8 @@ enum DebugBreakType {
DEBUG_BREAK_SLOT_AT_TAIL_CALL,
};
+enum IgnoreBreakMode { kAllFramesBlackboxed, kTopFrameBlackboxed };
dgozman 2017/03/09 23:04:01 kIgnoreIfAllFramesBlackboxed, kIgnoreIfTopFrameBla
kozy 2017/03/10 03:14:55 Done.
+
class BreakLocation {
public:
static BreakLocation FromFrame(Handle<DebugInfo> debug_info,
@@ -276,7 +278,7 @@ class Debug {
MUST_USE_RESULT MaybeHandle<Object> Call(Handle<Object> fun,
Handle<Object> data);
Handle<Context> GetDebugContext();
- void HandleDebugBreak();
+ void HandleDebugBreak(IgnoreBreakMode ignore_break_mode);
// Internal logic
bool Load();
@@ -490,6 +492,7 @@ class Debug {
void ClearOneShot();
bool IsFrameBlackboxed(JavaScriptFrame* frame);
+ bool IsTopFrameBlackboxed();
void ActivateStepOut(StackFrame* frame);
void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info);

Powered by Google App Engine
This is Rietveld 408576698