Home | History | Annotate | Download | only in src

Lines Matching defs:Break

151       // There is always a possible break point at a debug break slot.
156 // break points can cause the code targets in the running (debugged) code
189 // Check for break at return.
214 // Find the break point closest to the supplied address.
216 // Run through all break points to locate the one closest to the address.
220 // Check if this break point is closer that what was previously found.
225 if (distance == 0) break;
230 // Move to the break point found.
236 // Find the break point closest to the supplied source position.
238 // Run through all break points to locate the one closest to the source
243 // Check if this break point is closer that what was previously found.
249 if (distance == 0) break;
254 // Move to the break point found.
267 // Position at the first break point.
281 // If there is not already a real break point here patch code with debug
282 // break.
287 // Set the break point information.
295 // Clear the break point information.
297 // If there are no more break points here remove the debug break.
311 // If there is a real break point here no more to do.
317 // Patch code with debug break.
328 // If there is a real break point here no more to do.
334 // Patch code removing debug break.
346 // If there is already a break point here just return. This might happen if
347 // the same code is flooded with break points twice. Flooding the same
355 // Patch the frame exit code with a break point.
358 // Patch the code in the break slot.
378 // Restore the code in the break slot.
398 // called. If the executing code has a debug break at the location change
400 // executed in place of the debug break call.
437 // Check whether the break point is at a position which will exit the function.
448 // Check whether there is a debug break at the current position.
470 // Patch the code to invoke the builtin debug break function matching the
499 // Clear out all the debug break code. This is ONLY supposed to be used when
500 // shutting down the debugger as it will leave the break point information in
501 // DebugInfo even though the code is patched back to the non break point state.
683 // Get code to handle debug break on return.
687 // Get code to handle debug break in debug break slots.
895 Object* Debug::Break(Arguments args) {
926 // Find the break point where execution has stopped.
939 // If there is one or more real break points check whether any of these are
957 // Notify debugger if a real break point is triggered or if performing
1023 // Debug break slot stub does not return normally, instead it manually
1045 return isolate->debug()->Break(args);
1049 // Check the break point objects for whether one or more are actually
1050 // triggered. This function returns a JSArray with the break point objects
1055 // Count the number of break points hit. If there are multiple break points
1076 // Return undefined if no break points were triggered.
1080 // Return break points hit as a JSArray.
1087 // Check whether a single break point object is triggered.
1092 // Ignore check if break point object is not a JSObject.
1103 // Get the break id as an object.
1120 // Return whether the break point is triggered.
1156 // Find the break point and change it.
1163 // At least one active break point now.
1176 // Get information in the break point.
1185 // Find the break point and clear it.
1190 // If there are no more break points left remove the debug info for this
1206 // Remove all debug break code.
1227 // Flood the function with break points.
1261 // Flood the function with the catch block with break points
1306 // hitting a break point. In other situations (e.g. unhandled exception) the
1316 // First of all ensure there is one-shot break points in the top handler
1327 // Fill the function to return to with one-shot break points.
1342 // Find the break location where execution has stopped.
1385 // If this is the last break code target step out is the only possibility.
1404 // Fill the function to return to with one-shot break points.
1415 // Fill the current function with one-shot break points.
1477 // Fill the current function with one-shot break points even for step in on
1487 // propagated on the next Debug::Break.
1500 // Check whether the current debug break should be reported to the debugger. It
1501 // is used to have step next and step in only report break back to the debugger
1503 // there will be several break points in the same statement when the code is
1504 // flooded with one-shot break points. This function helps to perform several
1505 // steps before reporting break back to the debugger.
1534 // Check whether the code object at the specified address is a debug break code
1542 // Check whether a code stub with the specified major key is a possible break
1543 // point location when looking for source break locations.
1550 // Check whether a code stub with the specified major key is a possible break
1558 // Find the builtin to use for invoking the debug break
1562 // Find the builtin debug break function matching the calling convention
1608 // Simple function for returning the source positions for active break points.
1663 // Flood the function with one-shot break points if it is called from where
1704 // Clears all the one-shot break points that are currently set. Normally this
1705 // function is called each time a break point is hit as one shot break points
1709 // last break point for a function is removed that function is automatically
1754 // have debug break slots and deoptimization
1760 // already compiled full code without debug break slots to full code
1761 // with debug break slots depends on the generated code is otherwise
1843 // Check if the pc in the new code with debug break
1853 break;
1856 // Passed a debug break slot in the full code with debug
1857 // break slots.
1890 // debug break slots.
1926 // If preparing for the first break point make sure to deoptimize all
1940 // debug break slots.
1960 // debug break slots and are not active or inlined into an active
1993 // Nothing to do. Function code already had debug break slots.
2006 // break slots.
2008 // Try to compile the full code with debug break slots. If it
2061 // Now there is at least one break point.
2085 // If there are no more debug info objects there are not more break
2104 // Get the executing function in which the debug break occurred.
2121 // either a DebugBreakXXX or to the debug break return entry code if the
2122 // break point is still active after processing the break point.
2125 // Check if the location is at JS exit or debug break slot.
2143 // Handle the jump to continue execution after break point depending on the
2144 // break location.
2146 // If the break point as return is still active jump to the corresponding
2147 // place in the original code. If not the break point was removed during
2148 // break point processing.
2157 // Address of where the debug break slot starts.
2163 // We now know that there is still a debug break call at the target address,
2164 // so the break point is still there and the original code will hold the
2175 // There is no longer a break point present. Don't try to look in the
2177 // care of the case where the last break point is removed from the function
2187 // If there are no break points this cannot be break at return, as
2188 // the debugger statement and stack guard bebug break cannot be at
2196 // Get the executing function in which the debug break occurred.
2408 // Create the new break event object.
2526 if (!Debugger::EventActive(v8::Break)) return;
2545 ProcessDebugEvent(v8::Break,
2600 // If debugging there might be script break points registered for this
2601 // script. Make sure that these break points are set.
2680 // Clear any pending debug break if this is a real break.
2699 // a JavaScript function. Don't call event listener for v8::Break
2701 if ((event != v8::Break || !auto_continue) && !event_listener_.is_null()) {
2705 if (event == v8::Break) {
2805 case v8::Break:
2808 break;
2811 break;
2813 break;
2816 break;
2819 break;
2821 break;
2843 // If auto continue don't make the event cause a break, but process messages
3006 // Send an empty command to the debugger if in a break to make JavaScript
3074 // Set the debug command break flag to have the command processed.
3102 // Set the debug command break flag to have the command processed.
3222 // Store the previous break id and frame id.
3226 // Create the new break info. If there is no JavaScript frames there is no
3227 // break frame id.
3248 // Restore to the previous break state.
3258 // Try to avoid any pending debug break breaking in the clear mirror
3267 // Request preemption and debug break when leaving the last debugger entry