Lines Matching refs:debug

15 #include "src/debug/debug-interface.h"
118 builder.appendNumber(v8::debug::GetDebuggingId(function));
232 v8::debug::Location hintPosition =
239 String16 breakLocationType(v8::debug::BreakLocationType type) {
241 case v8::debug::kCallBreakLocation:
243 case v8::debug::kReturnBreakLocation:
245 case v8::debug::kDebuggerStatementBreakLocation:
247 case v8::debug::kCommonBreakLocation:
253 String16 scopeType(v8::debug::ScopeIterator::ScopeType type) {
255 case v8::debug::ScopeIterator::ScopeTypeGlobal:
257 case v8::debug::ScopeIterator::ScopeTypeLocal:
259 case v8::debug::ScopeIterator::ScopeTypeWith:
261 case v8::debug::ScopeIterator::ScopeTypeClosure:
263 case v8::debug::ScopeIterator::ScopeTypeCatch:
265 case v8::debug::ScopeIterator::ScopeTypeBlock:
267 case v8::debug::ScopeIterator::ScopeTypeScript:
269 case v8::debug::ScopeIterator::ScopeTypeEval:
271 case v8::debug::ScopeIterator::ScopeTypeModule:
273 case v8::debug::ScopeIterator::ScopeTypeWasmExpressionStack:
279 Response buildScopes(v8::Isolate* isolate, v8::debug::ScopeIterator* iterator,
305 v8::debug::Location start = iterator->GetStartLocation();
312 v8::debug::Location end = iterator->GetEndLocation();
355 bool hitBreakReasonEncodedAsOther(v8::debug::BreakReasons breakReasons) {
358 v8::debug::BreakReasons otherBreakReasons(
359 {v8::debug::BreakReason::kStep,
360 v8::debug::BreakReason::kDebuggerStatement,
361 v8::debug::BreakReason::kScheduled, v8::debug::BreakReason::kAsyncStep,
362 v8::debug::BreakReason::kAlreadyPaused});
395 didPause(0, v8::Local<v8::Value>(), std::vector<v8::debug::BreakpointId>(),
396 v8::debug::kException, false,
397 v8::debug::BreakReasons({v8::debug::BreakReason::kAlreadyPaused}));
426 v8::debug::NoBreakOnException);
441 v8::debug::RemoveBreakpoint(m_isolate, it.first);
465 int pauseState = v8::debug::NoBreakOnException;
752 v8::debug::RemoveBreakpoint(m_isolate, id);
769 v8::debug::Location v8Start(start->getLineNumber(),
771 v8::debug::Location v8End;
781 v8End = v8::debug::Location(line, column);
785 std::vector<v8::debug::BreakLocation> v8Locations;
815 if (v8Locations[i].type() != v8::debug::kCommonBreakLocation) {
876 const v8::debug::Location& start,
877 const v8::debug::Location& end) {
962 v8::debug::BreakpointId debuggerBreakpointId;
963 v8::debug::Location location(lineNumber, columnNumber);
989 v8::debug::BreakpointId debuggerBreakpointId;
990 if (!v8::debug::SetFunctionBreakpoint(function, condition,
1037 v8::debug::LiveEditResult result;
1039 if (result.status != v8::debug::LiveEditResult::OK) {
1229 v8::debug::ExceptionBreakState pauseState;
1231 pauseState = v8::debug::NoBreakOnException;
1233 pauseState = v8::debug::BreakOnAnyException;
1235 pauseState = v8::debug::BreakOnUncaughtException;
1248 static_cast<v8::debug::ExceptionBreakState>(pauseState));
1267 auto it = v8::debug::StackTraceIterator::Create(m_isolate, frameOrdinal);
1309 auto it = v8::debug::StackTraceIterator::Create(m_isolate, frameOrdinal);
1335 auto iterator = v8::debug::StackTraceIterator::Create(m_isolate);
1350 v8::debug::SetReturnValue(m_isolate, newValue);
1444 auto iterator = v8::debug::StackTraceIterator::Create(m_isolate);
1453 v8::debug::Location loc = iterator->GetSourceLocation();
1477 v8::Local<v8::debug::Script> script = iterator->GetScript();
1554 v8::debug::WasmScript::DebugSymbolsType type) {
1556 case v8::debug::WasmScript::DebugSymbolsType::None:
1558 case v8::debug::WasmScript::DebugSymbolsType::SourceMap:
1561 case v8::debug::WasmScript::DebugSymbolsType::EmbeddedDWARF:
1564 case v8::debug::WasmScript::DebugSymbolsType::ExternalDWARF:
1572 v8::debug::WasmScript::DebugSymbolsType type;
1730 scriptRef->scriptId(), v8::debug::Location(0, 0),
1731 v8::debug::Location(scriptRef->endLine(), scriptRef->endColumn()));
1743 v8::debug::BreakpointId debuggerBreakpointId;
1752 v8::debug::BreakpointId instrumentationId) {
1788 const std::vector<v8::debug::BreakpointId>& hitBreakpoints,
1789 v8::debug::ExceptionType exceptionType, bool isUncaught,
1790 v8::debug::BreakReasons breakReasons) {
1795 if (breakReasons.contains(v8::debug::BreakReason::kOOM)) {
1798 } else if (breakReasons.contains(v8::debug::BreakReason::kAssert)) {
1801 } else if (breakReasons.contains(v8::debug::BreakReason::kException)) {
1806 exceptionType == v8::debug::kPromiseRejection
1864 breakReasons.contains(v8::debug::BreakReason::kAgent));