Lines Matching refs:Debug

25 var Debug = {};
32 // Debug events which can occour in the V8 JavaScript engine. These originate
34 Debug.DebugEvent = { Break: 1,
41 Debug.ExceptionBreak = { Caught : 0,
45 Debug.StepAction = { StepOut: 0,
50 Debug.ScriptType = { Native: 0,
57 Debug.ScriptCompilationType = { Host: 0,
62 Debug.ScriptBreakPointType = { ScriptId: 0,
68 Debug.BreakPositionAlignment = {
92 getValue: function() { return Debug.isBreakOnException(); },
95 Debug.setBreakOnException();
97 Debug.clearBreakOnException();
102 getValue: function() { return Debug.isBreakOnUncaughtException(); },
105 Debug.setBreakOnUncaughtException();
107 Debug.clearBreakOnUncaughtException();
226 if (type == Debug.ScriptBreakPointType.ScriptId) {
228 } else if (type == Debug.ScriptBreakPointType.ScriptName) {
230 } else if (type == Debug.ScriptBreakPointType.ScriptRegExp) {
239 ? Debug.BreakPositionAlignment.Statement : opt_position_alignment;
329 if (this.type_ == Debug.ScriptBreakPointType.ScriptId) {
337 if (this.type_ == Debug.ScriptBreakPointType.ScriptName) {
339 } else if (this.type_ == Debug.ScriptBreakPointType.ScriptRegExp) {
372 var position = Debug.findScriptSourcePosition(script, this.line(), column);
411 Debug.setListener = function(listener, opt_data) {
424 Debug.findScript = function(func_or_script_name) {
457 Debug.scriptSource = function(func_or_script_name) {
462 Debug.source = function(f) {
468 Debug.sourcePosition = function(f) {
474 Debug.findFunctionSourceLocation = function(func, opt_line, opt_column) {
483 Debug.findScriptSourcePosition = function(script, opt_line, opt_column) {
489 Debug.findBreakPoint = function(break_point_number, remove) {
508 Debug.findBreakPointActualLocations = function(break_point_number) {
522 Debug.setBreakPoint = function(func, opt_line, opt_column, opt_condition) {
534 if (script.type == Debug.ScriptType.Native) {
561 Debug.setBreakPointByScriptIdAndPosition = function(script_id, position,
573 ? Debug.BreakPositionAlignment.Statement : opt_position_alignment;
581 Debug.enableBreakPoint = function(break_point_number) {
590 Debug.disableBreakPoint = function(break_point_number) {
599 Debug.changeBreakPointCondition = function(break_point_number, condition) {
605 Debug.clearBreakPoint = function(break_point_number) {
616 Debug.clearAllBreakPoints = function() {
625 Debug.disableAllBreakPoints = function() {
628 Debug.disableBreakPoint(i);
631 %ChangeBreakOnException(Debug.ExceptionBreak.Caught, false);
632 %ChangeBreakOnException(Debug.ExceptionBreak.Uncaught, false);
636 Debug.findScriptBreakPoint = function(break_point_number, remove) {
655 Debug.setScriptBreakPoint = function(type, script_id_or_name,
681 Debug.setScriptBreakPointById = function(script_id,
685 return this.setScriptBreakPoint(Debug.ScriptBreakPointType.ScriptId,
692 Debug.setScriptBreakPointByName = function(script_name,
695 return this.setScriptBreakPoint(Debug.ScriptBreakPointType.ScriptName,
701 Debug.setScriptBreakPointByRegExp = function(script_regexp,
704 return this.setScriptBreakPoint(Debug.ScriptBreakPointType.ScriptRegExp,
710 Debug.enableScriptBreakPoint = function(break_point_number) {
716 Debug.disableScriptBreakPoint = function(break_point_number) {
722 Debug.changeScriptBreakPointCondition = function(
729 Debug.scriptBreakPoints = function() {
734 Debug.clearStepping = function() {
738 Debug.setBreakOnException = function() {
739 return %ChangeBreakOnException(Debug.ExceptionBreak.Caught, true);
742 Debug.clearBreakOnException = function() {
743 return %ChangeBreakOnException(Debug.ExceptionBreak.Caught, false);
746 Debug.isBreakOnException = function() {
747 return !!%IsBreakOnException(Debug.ExceptionBreak.Caught);
750 Debug.setBreakOnUncaughtException = function() {
751 return %ChangeBreakOnException(Debug.ExceptionBreak.Uncaught, true);
754 Debug.clearBreakOnUncaughtException = function() {
755 return %ChangeBreakOnException(Debug.ExceptionBreak.Uncaught, false);
758 Debug.isBreakOnUncaughtException = function() {
759 return !!%IsBreakOnException(Debug.ExceptionBreak.Uncaught);
762 Debug.showBreakPoints = function(f, full, opt_position_alignment) {
767 ? Debug.BreakPositionAlignment.Statement : opt_position_alignment;
788 Debug.scripts = function() {
797 var scripts = Debug.scripts();
805 Debug.debuggerFlags = function() {
809 Debug.MakeMirror = MakeMirror;
821 if (action === Debug.StepAction.StepIn ||
822 action === Debug.StepAction.StepOut ||
823 action === Debug.StepAction.StepNext) {
870 return Debug.DebugEvent.Break;
913 return Debug.DebugEvent.Exception;
1014 "Debug", Debug,