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

Side by Side Diff: src/inspector/v8-debugger.h

Issue 2488733003: [inspector] Add exception caught/uncaught status to protocol (Closed)
Patch Set: Use Maybe version of BooleanValue Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/inspector/v8-debugger.cc » ('j') | src/inspector/v8-debugger-agent-impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_
6 #define V8_INSPECTOR_V8DEBUGGER_H_ 6 #define V8_INSPECTOR_V8DEBUGGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/base/macros.h" 10 #include "src/base/macros.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 int argc, 100 int argc,
101 v8::Local<v8::Value> argv[]); 101 v8::Local<v8::Value> argv[]);
102 v8::Local<v8::Context> debuggerContext() const; 102 v8::Local<v8::Context> debuggerContext() const;
103 void clearBreakpoints(); 103 void clearBreakpoints();
104 104
105 static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&); 105 static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&);
106 void handleProgramBreak(v8::Local<v8::Context> pausedContext, 106 void handleProgramBreak(v8::Local<v8::Context> pausedContext,
107 v8::Local<v8::Object> executionState, 107 v8::Local<v8::Object> executionState,
108 v8::Local<v8::Value> exception, 108 v8::Local<v8::Value> exception,
109 v8::Local<v8::Array> hitBreakpoints, 109 v8::Local<v8::Array> hitBreakpoints,
110 bool isPromiseRejection = false); 110 bool isPromiseRejection = false,
111 bool isUncaught = false);
111 static void v8DebugEventCallback(const v8::DebugInterface::EventDetails&); 112 static void v8DebugEventCallback(const v8::DebugInterface::EventDetails&);
112 v8::Local<v8::Value> callInternalGetterFunction(v8::Local<v8::Object>, 113 v8::Local<v8::Value> callInternalGetterFunction(v8::Local<v8::Object>,
113 const char* functionName); 114 const char* functionName);
114 void handleV8DebugEvent(const v8::DebugInterface::EventDetails&); 115 void handleV8DebugEvent(const v8::DebugInterface::EventDetails&);
115 void handleV8AsyncTaskEvent(v8::Local<v8::Context>, 116 void handleV8AsyncTaskEvent(v8::Local<v8::Context>,
116 v8::Local<v8::Object> executionState, 117 v8::Local<v8::Object> executionState,
117 v8::Local<v8::Object> eventData); 118 v8::Local<v8::Object> eventData);
118 119
119 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>, 120 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>,
120 v8::Local<v8::Object>); 121 v8::Local<v8::Object>);
(...skipping 26 matching lines...) Expand all
147 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; 148 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap;
148 149
149 v8::DebugInterface::ExceptionBreakState m_pauseOnExceptionsState; 150 v8::DebugInterface::ExceptionBreakState m_pauseOnExceptionsState;
150 151
151 DISALLOW_COPY_AND_ASSIGN(V8Debugger); 152 DISALLOW_COPY_AND_ASSIGN(V8Debugger);
152 }; 153 };
153 154
154 } // namespace v8_inspector 155 } // namespace v8_inspector
155 156
156 #endif // V8_INSPECTOR_V8DEBUGGER_H_ 157 #endif // V8_INSPECTOR_V8DEBUGGER_H_
OLDNEW
« no previous file with comments | « no previous file | src/inspector/v8-debugger.cc » ('j') | src/inspector/v8-debugger-agent-impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698