Lines Matching refs:break_point
129 var break_point = new BreakPoint(source_position, opt_script_break_point);
130 break_points.push(break_point);
131 return break_point;
228 function IsBreakPointTriggered(break_id, break_point) { argument
229 return break_point.isTriggered(MakeExecutionState(break_id));
406 var break_point = MakeBreakPoint(position, this);
409 break_point);
414 break_point.actual_location = { line: actual_location.line,
417 this.break_points_.push(break_point);
418 return break_point;
442 var break_point = script_break_points[i];
443 if ((break_point.type() == Debug.ScriptBreakPointType.ScriptName ||
444 break_point.type() == Debug.ScriptBreakPointType.ScriptRegExp) &&
445 break_point.matchesScript(script)) {
446 break_point.set(script);
542 var break_point;
545 break_point = break_points[i];
553 if (break_point) {
554 return break_point;
600 var break_point = MakeBreakPoint(source_position);
602 %SetFunctionBreakPoint(func, source_position, break_point);
604 break_point.actual_location = { line: actual_location.line,
607 break_point.setCondition(opt_condition);
608 return break_point.number();
617 var break_point = MakeBreakPoint(position);
618 break_point.setCondition(condition);
620 break_point.disable();
626 break_point.actual_position = %SetScriptBreakPoint(script, position,
627 position_alignment, break_point);
629 return break_point;
634 var break_point = this.findBreakPoint(break_point_number, false);
636 if (break_point) {
637 break_point.enable();
643 var break_point = this.findBreakPoint(break_point_number, false);
645 if (break_point) {
646 break_point.disable();
652 var break_point = this.findBreakPoint(break_point_number, false);
653 break_point.setCondition(condition);
658 var break_point = this.findBreakPoint(break_point_number, true);
659 if (break_point) {
660 return %ClearBreakPoint(break_point);
662 break_point = this.findScriptBreakPoint(break_point_number, true);
663 if (!break_point) throw %make_error(kDebugger, 'Invalid breakpoint');
670 var break_point = break_points[i];
671 %ClearBreakPoint(break_point);
1459 var break_point = Debug.findBreakPoint(break_point_number);
1469 if (break_point instanceof ScriptBreakPoint) {
1470 if (break_point.type() == Debug.ScriptBreakPointType.ScriptId) {
1472 response.body.script_id = break_point.script_id();
1473 } else if (break_point.type() == Debug.ScriptBreakPointType.ScriptName) {
1475 response.body.script_name = break_point.script_name();
1476 } else if (break_point.type() == Debug.ScriptBreakPointType.ScriptRegExp) {
1478 response.body.script_regexp = break_point.script_regexp_object().source;
1481 "Unexpected breakpoint type: " + break_point.type());
1483 response.body.line = break_point.line();
1484 response.body.column = break_point.column();
1485 response.body.actual_locations = break_point.actual_locations();
1488 response.body.actual_locations = [break_point.actual_location];
1502 var break_point = TO_NUMBER(request.arguments.breakpoint);
1507 if (!break_point) {
1515 Debug.enableBreakPoint(break_point);
1517 Debug.disableBreakPoint(break_point);
1523 Debug.changeBreakPointCondition(break_point, condition);
1572 var break_point = TO_NUMBER(request.arguments.breakpoint);
1575 if (!break_point) {
1581 Debug.clearBreakPoint(break_point);
1584 response.body = { breakpoint: break_point };
1592 var break_point = script_break_points[i];
1595 number: break_point.number(),
1596 line: break_point.line(),
1597 column: break_point.column(),
1598 groupId: break_point.groupId(),
1599 active: break_point.active(),
1600 condition: break_point.condition(),
1601 actual_locations: break_point.actual_locations()
1604 if (break_point.type() == Debug.ScriptBreakPointType.ScriptId) {
1606 description.script_id = break_point.script_id();
1607 } else if (break_point.type() == Debug.ScriptBreakPointType.ScriptName) {
1609 description.script_name = break_point.script_name();
1610 } else if (break_point.type() == Debug.ScriptBreakPointType.ScriptRegExp) {
1612 description.script_regexp = break_point.script_regexp_object().source;
1615 "Unexpected breakpoint type: " + break_point.type());