Lines Matching defs:debug

5 #include "src/debug/debug.h"
20 #include "src/debug/debug-evaluate.h"
21 #include "src/debug/liveedit.h"
36 #include "src/objects/debug-objects-inl.h"
44 #include "src/wasm/wasm-debug.h"
225 debug::BreakLocationType BreakLocation::type() const {
228 return debug::kDebuggerStatementBreakLocation;
230 return debug::kCallBreakLocation;
232 return debug::kReturnBreakLocation;
237 return debug::kCommonBreakLocation;
458 // Globalize the request debug info object and make it weak.
499 // Return if we fail to retrieve debug info.
514 // Find actual break points, if any, and trigger debug break event.
522 // Notify the debug event listeners.
599 // Notify the debug event listeners.
657 // evaluate to false. Aside from not triggering a debug break event at the
729 // Make sure the function is compiled and has set up the debug info.
957 // Clear out all the debug break code.
988 // Make sure the function is compiled and has set up the debug info.
1177 // Get the frame where the execution has stopped and skip the debug frame if
1178 // any. The debug frame will only be present if execution was stopped due to
1180 // debug frame is not present.
1200 // Get the debug info (create it if it does not exist).
1526 // To prepare bytecode for debugging, we already need to have the debug
1527 // info (containing the debug copy) upfront, but since we do not recompile,
1536 // Have to discard baseline code before installing debug bytecode, since the
1568 // Check the list of debug infos whether the debug break trampoline needs to
1672 // Make sure the function has set up the debug info.
1877 // While we are at this, also ensure code with debug break slots so that we do
1908 // be no JSFunction referencing it. We can anticipate creating a debug
1928 // Ensures the debug information is present for shared.
1973 // Create debug info and add it to the list.
2076 // Get the executing function in which the debug break occurred.
2079 // With no debug info there are no break points, so we can't be at a return.
2114 // JavaScript from the debug event handler.
2123 maybe_promise->IsJSPromise() ? v8::debug::kPromiseRejection
2124 : v8::debug::kException);
2149 OnException(value, promise, v8::debug::kPromiseRejection);
2179 v8::debug::ExceptionType exception_type) {
2247 v8::debug::BreakReasons break_reasons) {
2272 // This array contains breakpoints installed using JS debug API.
2281 break_reasons.Add(debug::BreakReason::kStep);
2289 debug::Location GetDebugLocation(Handle<Script> script, int source_position) {
2298 return debug::Location(std::max(info.line, 0), std::max(info.column, 0));
2317 debug::Location start = GetDebugLocation(script, shared->StartPosition());
2318 debug::Location end = GetDebugLocation(script, shared->EndPosition());
2322 ToApiHandle<debug::Script>(script), start, end);
2350 return debug_delegate_->ShouldBeSkipped(ToApiHandle<debug::Script>(script),
2377 bool preview, debug::LiveEditResult* result) {
2384 return result->status == debug::LiveEditResult::OK;
2402 // Attach the correct debug id to the script. The debug id is used by the
2421 debug_delegate_->ScriptCompiled(ToApiHandle<debug::Script>(script),
2440 void Debug::SetDebugDelegate(debug::DebugDelegate* delegate) {
2450 // Note that the debug context could have already been loaded to
2473 v8::debug::BreakReasons break_reasons) {
2475 // Ignore debug break during bootstrapping.
2479 // Ignore debug break if debugger is not active.
2554 PrintF("[debug] break in function '");
2572 PrintF("[debug] %.*s\n", line_end - line_start,
2574 PrintF("[debug] ");
2578 PrintF("[debug] at line %d column %d\n", line, column);
2584 DebugScope::DebugScope(Debug* debug)
2585 : debug_(debug),
2587 base::Relaxed_Load(&debug->thread_local_.current_debug_scope_))),
2627 ReturnValueScope::ReturnValueScope(Debug* debug) : debug_(debug) {
2637 // Walk all debug infos and update their execution mode if it is different
2680 // Update debug infos to have correct execution mode.
2706 // Update debug infos to have correct execution mode.
2728 // correct, since we patch scaling prefixes to debug breaks if exists.
2754 PrintF("[debug-evaluate] Function %s failed side effect check.\n",
2765 // If function has bytecode array then prepare function for debug
2817 PrintF("[debug-evaluate] API Callback '");
2825 PrintF("[debug-evaluate] API Interceptor may cause side effect.\n");
2831 PrintF("[debug-evaluate] API CallHandlerInfo may cause side effect.\n");
2893 PrintF("[debug-evaluate] failed runtime side effect check.\n");