Lines Matching refs:Function
73 function ScriptTypeFlag(type) {
85 getValue: function() { return this.value; },
86 setValue: function(value) {
92 getValue: function() { return Debug.isBreakOnException(); },
93 setValue: function(value) {
102 getValue: function() { return Debug.isBreakOnUncaughtException(); },
103 setValue: function(value) {
116 function MakeBreakPoint(source_position, opt_script_break_point) {
124 // NOTE: This object does not have a reference to the function having break
125 // point as this would cause function not to be garbage collected when it is
127 function BreakPoint(source_position, opt_script_break_point) {
141 BreakPoint.prototype.number = function() {
146 BreakPoint.prototype.func = function() {
151 BreakPoint.prototype.source_position = function() {
156 BreakPoint.prototype.hit_count = function() {
161 BreakPoint.prototype.active = function() {
169 BreakPoint.prototype.condition = function() {
177 BreakPoint.prototype.ignoreCount = function() {
182 BreakPoint.prototype.script_break_point = function() {
187 BreakPoint.prototype.enable = function() {
192 BreakPoint.prototype.disable = function() {
197 BreakPoint.prototype.setCondition = function(condition) {
202 BreakPoint.prototype.setIgnoreCount = function(ignoreCount) {
207 BreakPoint.prototype.isTriggered = function(exec_state) {
243 // Function called from the runtime when a break point is hit. Returns true if
245 function IsBreakPointTriggered(break_id, break_point) {
253 function ScriptBreakPoint(type, script_id_or_name, opt_line, opt_column,
273 ScriptBreakPoint.prototype.cloneForOtherScript = function (other_script) {
287 ScriptBreakPoint.prototype.number = function() {
292 ScriptBreakPoint.prototype.groupId = function() {
297 ScriptBreakPoint.prototype.type = function() {
302 ScriptBreakPoint.prototype.script_id = function() {
307 ScriptBreakPoint.prototype.script_name = function() {
312 ScriptBreakPoint.prototype.line = function() {
317 ScriptBreakPoint.prototype.column = function() {
322 ScriptBreakPoint.prototype.actual_locations = function() {
331 ScriptBreakPoint.prototype.update_positions = function(line, column) {
337 ScriptBreakPoint.prototype.hit_count = function() {
342 ScriptBreakPoint.prototype.active = function() {
347 ScriptBreakPoint.prototype.condition = function() {
352 ScriptBreakPoint.prototype.ignoreCount = function() {
357 ScriptBreakPoint.prototype.enable = function() {
362 ScriptBreakPoint.prototype.disable = function() {
367 ScriptBreakPoint.prototype.setCondition = function(condition) {
372 ScriptBreakPoint.prototype.setIgnoreCount = function(ignoreCount) {
384 ScriptBreakPoint.prototype.matchesScript = function(script) {
396 ScriptBreakPoint.prototype.set = function (script) {
441 ScriptBreakPoint.prototype.clear = function () {
456 // Function called from runtime when a new script is compiled to set any script
458 function UpdateScriptBreakPoints(script) {
468 function GetScriptBreakPoints(script) {
479 Debug.setListener = function(listener, opt_data) {
487 Debug.breakExecution = function(f) {
491 Debug.breakLocations = function(f) {
496 // Returns a Script object. If the parameter is a function the return value
497 // is the script in which the function is defined. If the parameter is a string
501 Debug.findScript = function(func_or_script_name) {
530 // Returns the script source. If the parameter is a function the return value
531 // is the script source for the script in which the function is defined. If the
534 Debug.scriptSource = function(func_or_script_name) {
538 Debug.source = function(f) {
543 Debug.disassemble = function(f) {
548 Debug.disassembleConstructor = function(f) {
553 Debug.ExecuteInDebugContext = function(f, without_debugger) {
558 Debug.sourcePosition = function(f) {
564 Debug.findFunctionSourceLocation = function(func, opt_line, opt_column) {
573 Debug.findScriptSourcePosition = function(script, opt_line, opt_column) {
579 Debug.findBreakPoint = function(break_point_number, remove) {
598 Debug.findBreakPointActualLocations = function(break_point_number) {
612 Debug.setBreakPoint = function(func, opt_line, opt_column, opt_condition) {
618 // Find source position relative to start of the function
622 // Find the script for the function.
628 // If the script for the function has a name convert this to a script break
640 // Set a break point directly on the function.
654 Debug.setBreakPointByScriptIdAndPosition = function(script_id, position,
673 Debug.enableBreakPoint = function(break_point_number) {
682 Debug.disableBreakPoint = function(break_point_number) {
691 Debug.changeBreakPointCondition = function(break_point_number, condition) {
697 Debug.changeBreakPointIgnoreCount = function(break_point_number, ignoreCount) {
706 Debug.clearBreakPoint = function(break_point_number) {
719 Debug.clearAllBreakPoints = function() {
728 Debug.disableAllBreakPoints = function() {
739 Debug.findScriptBreakPoint = function(break_point_number, remove) {
758 Debug.setScriptBreakPoint = function(type, script_id_or_name,
784 Debug.setScriptBreakPointById = function(script_id,
793 Debug.setScriptBreakPointByName = function(script_name,
802 Debug.enableScriptBreakPoint = function(break_point_number) {
808 Debug.disableScriptBreakPoint = function(break_point_number) {
814 Debug.changeScriptBreakPointCondition = function(break_point_number, condition) {
820 Debug.changeScriptBreakPointIgnoreCount = function(break_point_number, ignoreCount) {
829 Debug.scriptBreakPoints = function() {
834 Debug.clearStepping = function() {
838 Debug.setBreakOnException = function() {
842 Debug.clearBreakOnException = function() {
846 Debug.isBreakOnException = function() {
850 Debug.setBreakOnUncaughtException = function() {
854 Debug.clearBreakOnUncaughtException = function() {
858 Debug.isBreakOnUncaughtException = function() {
862 Debug.showBreakPoints = function(f, full) {
868 locations.sort(function(x, y) { return x - y; });
886 Debug.scripts = function() {
892 Debug.debuggerFlags = function() {
898 function MakeExecutionState(break_id) {
902 function ExecutionState(break_id) {
907 ExecutionState.prototype.prepareStep = function(opt_action, opt_count) {
915 ExecutionState.prototype.evaluateGlobal = function(source, disable_break,
922 ExecutionState.prototype.frameCount = function() {
926 ExecutionState.prototype.threadCount = function() {
930 ExecutionState.prototype.frame = function(opt_index) {
938 ExecutionState.prototype.setSelectedFrame = function(index) {
944 ExecutionState.prototype.selectedFrame = function() {
948 ExecutionState.prototype.debugCommandProcessor = function(opt_is_running) {
953 function MakeBreakEvent(exec_state, break_points_hit) {
958 function BreakEvent(exec_state, break_points_hit) {
964 BreakEvent.prototype.executionState = function() {
969 BreakEvent.prototype.eventType = function() {
974 BreakEvent.prototype.func = function() {
979 BreakEvent.prototype.sourceLine = function() {
984 BreakEvent.prototype.sourceColumn = function() {
989 BreakEvent.prototype.sourceLineText = function() {
994 BreakEvent.prototype.breakPointsHit = function() {
999 BreakEvent.prototype.toJSONProtocol = function() {
1037 function MakeExceptionEvent(exec_state, exception, uncaught) {
1042 function ExceptionEvent(exec_state, exception, uncaught) {
1049 ExceptionEvent.prototype.executionState = function() {
1054 ExceptionEvent.prototype.eventType = function() {
1059 ExceptionEvent.prototype.exception = function() {
1064 ExceptionEvent.prototype.uncaught = function() {
1069 ExceptionEvent.prototype.func = function() {
1074 ExceptionEvent.prototype.sourceLine = function() {
1079 ExceptionEvent.prototype.sourceColumn = function() {
1084 ExceptionEvent.prototype.sourceLineText = function() {
1089 ExceptionEvent.prototype.toJSONProtocol = function() {
1115 function MakeCompileEvent(exec_state, script, before) {
1120 function CompileEvent(exec_state, script, before) {
1127 CompileEvent.prototype.executionState = function() {
1132 CompileEvent.prototype.eventType = function() {
1141 CompileEvent.prototype.script = function() {
1146 CompileEvent.prototype.toJSONProtocol = function() {
1161 function MakeNewFunctionEvent(func) {
1166 function NewFunctionEvent(func) {
1171 NewFunctionEvent.prototype.eventType = function() {
1176 NewFunctionEvent.prototype.name = function() {
1181 NewFunctionEvent.prototype.setBreakPoint = function(p) {
1186 function MakeScriptCollectedEvent(exec_state, id) {
1191 function ScriptCollectedEvent(exec_state, id) {
1197 ScriptCollectedEvent.prototype.id = function() {
1202 ScriptCollectedEvent.prototype.executionState = function() {
1207 ScriptCollectedEvent.prototype.toJSONProtocol = function() {
1217 function MakeScriptObject_(script, include_source) {
1234 function DebugCommandProcessor(exec_state, opt_is_running) {
1240 DebugCommandProcessor.prototype.processDebugRequest = function (request) {
1245 function ProtocolMessage(request) {
1265 ProtocolMessage.prototype.setOption = function(name, value) {
1273 ProtocolMessage.prototype.failed = function(message) {
1279 ProtocolMessage.prototype.toJSONProtocol = function() {
1327 DebugCommandProcessor.prototype.createResponse = function(request) {
1332 DebugCommandProcessor.prototype.processDebugJSONRequest = function(json_request) {
1481 DebugCommandProcessor.prototype.continueRequest_ = function(request, response) {
1523 DebugCommandProcessor.prototype.breakRequest_ = function(request, response) {
1529 function(request, response) {
1552 if (type != 'function' && type != 'handle' &&
1558 // Either function or script break point.
1560 if (type == 'function') {
1561 // Handle function break point.
1568 // Find the function through a global evaluate.
1576 response.failed('"' + target + '" does not evaluate to a function');
1580 // Set function break point.
1590 return response.failed('Object #' + handle + '# is not a function');
1593 // Set function break point.
1632 response.body.type = 'function';
1638 DebugCommandProcessor.prototype.changeBreakPointRequest_ = function(request, response) {
1678 DebugCommandProcessor.prototype.clearBreakPointGroupRequest_ = function(request, response) {
1712 DebugCommandProcessor.prototype.clearBreakPointRequest_ = function(request, response) {
1736 DebugCommandProcessor.prototype.listBreakpointsRequest_ = function(request, response) {
1772 function(request, response) {
1779 function(request, response) {
1823 DebugCommandProcessor.prototype.backtraceRequest_ = function(request, response) {
1879 DebugCommandProcessor.prototype.frameRequest_ = function(request, response) {
1898 DebugCommandProcessor.prototype.frameForScopeRequest_ = function(request) {
1913 DebugCommandProcessor.prototype.scopesRequest_ = function(request, response) {
1937 DebugCommandProcessor.prototype.scopeRequest_ = function(request, response) {
1959 DebugCommandProcessor.prototype.evaluateRequest_ = function(request, response) {
2039 DebugCommandProcessor.prototype.getobjRequest_ = function(request, response) {
2057 DebugCommandProcessor.prototype.lookupRequest_ = function(request, response) {
2091 function(request, response) {
2125 DebugCommandProcessor.prototype.sourceRequest_ = function(request, response) {
2169 DebugCommandProcessor.prototype.scriptsRequest_ = function(request, response) {
2237 DebugCommandProcessor.prototype.threadsRequest_ = function(request, response) {
2259 DebugCommandProcessor.prototype.suspendRequest_ = function(request, response) {
2264 DebugCommandProcessor.prototype.versionRequest_ = function(request, response) {
2271 DebugCommandProcessor.prototype.profileRequest_ = function(request, response) {
2294 DebugCommandProcessor.prototype.changeLiveRequest_ = function(request, response) {
2335 DebugCommandProcessor.prototype.debuggerFlagsRequest_ = function(request,
2368 DebugCommandProcessor.prototype.v8FlagsRequest_ = function(request, response) {
2375 DebugCommandProcessor.prototype.gcRequest_ = function(request, response) {
2388 function(request, response) {
2394 function(request, response) {
2405 DebugCommandProcessor.prototype.lolDiffRequest_ = function(request, response) {
2420 DebugCommandProcessor.prototype.lolGetIdRequest_ = function(request, response) {
2427 DebugCommandProcessor.prototype.lolInfoRequest_ = function(request, response) {
2434 DebugCommandProcessor.prototype.lolResetRequest_ = function(request, response) {
2440 function(request, response) {
2452 DebugCommandProcessor.prototype.lolPathRequest_ = function(request, response) {
2460 DebugCommandProcessor.prototype.lolPrintRequest_ = function(request, response) {
2469 DebugCommandProcessor.prototype.isRunning = function() {
2474 DebugCommandProcessor.prototype.systemBreak = function(cmd, args) {
2479 function NumberToHex8Str(n) {
2495 * object. For type "object" the function will be called recursively. Note that
2502 function ObjectToProtocolObject_(object, mirror_serializer) {
2529 function ArrayToProtocolArray_(array, mirror_serializer) {
2545 function ValueToProtocolValue_(value, mirror_serializer) {