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

Unified Diff: src/debug/debug.h

Issue 2738503006: [inspector] don't make v8::debug::Call for breakProgram. (Closed)
Patch Set: addressed comments 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/api.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 99a4752fc658b29264afc22b5fb9c3a287de5bba..34b4fe2c2cf66cac9cb52de519616df1abf2009e 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -65,6 +65,11 @@ enum DebugBreakType {
DEBUG_BREAK_SLOT_AT_TAIL_CALL,
};
+enum IgnoreBreakMode {
+ kIgnoreIfAllFramesBlackboxed,
+ kIgnoreIfTopFrameBlackboxed
+};
+
class BreakLocation {
public:
static BreakLocation FromFrame(Handle<DebugInfo> debug_info,
@@ -276,7 +281,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();
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698