function ScriptBreakPoint(type, script_id_or_name, opt_line, opt_column,
                          opt_groupId, opt_position_alignment) {
  this.type_ = type;
  if (type == Debug.ScriptBreakPointType.ScriptId) {
    this.script_id_ = script_id_or_name;
  } else if (type == Debug.ScriptBreakPointType.ScriptName) {
    this.script_name_ = script_id_or_name;
  } else if (type == Debug.ScriptBreakPointType.ScriptRegExp) {
    this.script_regexp_object_ = new GlobalRegExp(script_id_or_name);
  } else {
    throw MakeError(kDebugger, "Unexpected breakpoint type " + type);
  }
  this.line_ = opt_line || 0;
  this.column_ = opt_column;
  this.groupId_ = opt_groupId;
  this.position_alignment_ = IS_UNDEFINED(opt_position_alignment)
      ? Debug.BreakPositionAlignment.Statement : opt_position_alignment;
  this.active_ = true;
  this.condition_ = null;
  this.break_points_ = [];
}
function ScriptBreakPoint(type, script_id_or_name, opt_line, opt_column,
                          opt_groupId, opt_position_alignment) {
  this.type_ = type;
  if (type == Debug.ScriptBreakPointType.ScriptId) {
    this.script_id_ = script_id_or_name;
  } else if (type == Debug.ScriptBreakPointType.ScriptName) {
    this.script_name_ = script_id_or_name;
  } else if (type == Debug.ScriptBreakPointType.ScriptRegExp) {
    this.script_regexp_object_ = new GlobalRegExp(script_id_or_name);
  } else {
    throw MakeError(kDebugger, "Unexpected breakpoint type " + type);
  }
  this.line_ = opt_line || 0;
  this.column_ = opt_column;
  this.groupId_ = opt_groupId;
  this.position_alignment_ = IS_UNDEFINED(opt_position_alignment)
      ? Debug.BreakPositionAlignment.Statement : opt_position_alignment;
  this.active_ = true;
  this.condition_ = null;
  this.break_points_ = [];
}
function ScriptBreakPoint ( type , script_id_or_name , opt_line , opt_column , opt_groupId , opt_position_alignment ) { this . type_ = type ; if ( type == Debug . ScriptBreakPointType . ScriptId ) { this . script_id_ = script_id_or_name ; } else if ( type == Debug . ScriptBreakPointType . ScriptName ) { this . script_name_ = script_id_or_name ; } else if ( type == Debug . ScriptBreakPointType . ScriptRegExp ) { this . script_regexp_object_ = new GlobalRegExp ( script_id_or_name ) ; } else { throw MakeError ( kDebugger , "Unexpected breakpoint type " + type ) ; } this . line_ = opt_line || 0 ; this . column_ = opt_column ; this . groupId_ = opt_groupId ; this . position_alignment_ = IS_UNDEFINED ( opt_position_alignment ) ? Debug . BreakPositionAlignment . Statement : opt_position_alignment ; this . active_ = true ; this . condition_ = null ; this . break_points_ = [ ] ; }
Object representing a script break point. The script is referenced by its script name or script id and the break point is represented as line and column.
Object representing a script break point . The script is referenced by its script name or script id and the break point is represented as line and column .