Home | History | Annotate | Download | only in src

Lines Matching refs:Function

74 function ScriptTypeFlag(type) {
86 getValue: function() { return this.value; },
87 setValue: function(value) {
93 getValue: function() { return Debug.isBreakOnException(); },
94 setValue: function(value) {
103 getValue: function() { return Debug.isBreakOnUncaughtException(); },
104 setValue: function(value) {
117 function MakeBreakPoint(source_position, opt_script_break_point) {
125 // NOTE: This object does not have a reference to the function having break
126 // point as this would cause function not to be garbage collected when it is
128 function BreakPoint(source_position, opt_script_break_point) {
142 BreakPoint.prototype.number = function() {
147 BreakPoint.prototype.func = function() {
152 BreakPoint.prototype.source_position = function() {
157 BreakPoint.prototype.hit_count = function() {
162 BreakPoint.prototype.active = function() {
170 BreakPoint.prototype.condition = function() {
178 BreakPoint.prototype.ignoreCount = function() {
183 BreakPoint.prototype.script_break_point = function() {
188 BreakPoint.prototype.enable = function() {
193 BreakPoint.prototype.disable = function() {
198 BreakPoint.prototype.setCondition = function(condition) {
203 BreakPoint.prototype.setIgnoreCount = function(ignoreCount) {
208 BreakPoint.prototype.isTriggered = function(exec_state) {
244 // Function called from the runtime when a break point is hit. Returns true if
246 function IsBreakPointTriggered(break_id, break_point) {
254 function ScriptBreakPoint(type, script_id_or_name, opt_line, opt_column,
278 ScriptBreakPoint.prototype.cloneForOtherScript = function (other_script) {
292 ScriptBreakPoint.prototype.number = function() {
297 ScriptBreakPoint.prototype.groupId = function() {
302 ScriptBreakPoint.prototype.type = function() {
307 ScriptBreakPoint.prototype.script_id = function() {
312 ScriptBreakPoint.prototype.script_name = function() {
317 ScriptBreakPoint.prototype.script_regexp_object = function() {
322 ScriptBreakPoint.prototype.line = function() {
327 ScriptBreakPoint.prototype.column = function() {
332 ScriptBreakPoint.prototype.actual_locations = function() {
341 ScriptBreakPoint.prototype.update_positions = function(line, column) {
347 ScriptBreakPoint.prototype.hit_count = function() {
352 ScriptBreakPoint.prototype.active = function() {
357 ScriptBreakPoint.prototype.condition = function() {
362 ScriptBreakPoint.prototype.ignoreCount = function() {
367 ScriptBreakPoint.prototype.enable = function() {
372 ScriptBreakPoint.prototype.disable = function() {
377 ScriptBreakPoint.prototype.setCondition = function(condition) {
382 ScriptBreakPoint.prototype.setIgnoreCount = function(ignoreCount) {
394 ScriptBreakPoint.prototype.matchesScript = function(script) {
415 ScriptBreakPoint.prototype.set = function (script) {
461 ScriptBreakPoint.prototype.clear = function () {
476 // Function called from runtime when a new script is compiled to set any script
478 function UpdateScriptBreakPoints(script) {
490 function GetScriptBreakPoints(script) {
501 Debug.setListener = function(listener, opt_data) {
509 Debug.breakExecution = function(f) {
513 Debug.breakLocations = function(f) {
518 // Returns a Script object. If the parameter is a function the return value
519 // is the script in which the function is defined. If the parameter is a string
523 Debug.findScript = function(func_or_script_name) {
552 // Returns the script source. If the parameter is a function the return value
553 // is the script source for the script in which the function is defined. If the
556 Debug.scriptSource = function(func_or_script_name) {
560 Debug.source = function(f) {
565 Debug.disassemble = function(f) {
570 Debug.disassembleConstructor = function(f) {
575 Debug.ExecuteInDebugContext = function(f, without_debugger) {
580 Debug.sourcePosition = function(f) {
586 Debug.findFunctionSourceLocation = function(func, opt_line, opt_column) {
595 Debug.findScriptSourcePosition = function(script, opt_line, opt_column) {
601 Debug.findBreakPoint = function(break_point_number, remove) {
620 Debug.findBreakPointActualLocations = function(break_point_number) {
634 Debug.setBreakPoint = function(func, opt_line, opt_column, opt_condition) {
640 // Find source position relative to start of the function
644 // Find the script for the function.
650 // If the script for the function has a name convert this to a script break
662 // Set a break point directly on the function.
677 Debug.setBreakPointByScriptIdAndPosition = function(script_id, position,
697 Debug.enableBreakPoint = function(break_point_number) {
706 Debug.disableBreakPoint = function(break_point_number) {
715 Debug.changeBreakPointCondition = function(break_point_number, condition) {
721 Debug.changeBreakPointIgnoreCount = function(break_point_number, ignoreCount) {
730 Debug.clearBreakPoint = function(break_point_number) {
743 Debug.clearAllBreakPoints = function() {
752 Debug.disableAllBreakPoints = function() {
763 Debug.findScriptBreakPoint = function(break_point_number, remove) {
782 Debug.setScriptBreakPoint = function(type, script_id_or_name,
808 Debug.setScriptBreakPointById = function(script_id,
817 Debug.setScriptBreakPointByName = function(script_name,
826 Debug.setScriptBreakPointByRegExp = function(script_regexp,
835 Debug.enableScriptBreakPoint = function(break_point_number) {
841 Debug.disableScriptBreakPoint = function(break_point_number) {
847 Debug.changeScriptBreakPointCondition = function(
854 Debug.changeScriptBreakPointIgnoreCount = function(
864 Debug.scriptBreakPoints = function() {
869 Debug.clearStepping = function() {
873 Debug.setBreakOnException = function() {
877 Debug.clearBreakOnException = function() {
881 Debug.isBreakOnException = function() {
885 Debug.setBreakOnUncaughtException = function() {
889 Debug.clearBreakOnUncaughtException = function() {
893 Debug.isBreakOnUncaughtException = function() {
897 Debug.showBreakPoints = function(f, full) {
903 locations.sort(function(x, y) { return x - y; });
921 Debug.scripts = function() {
927 Debug.debuggerFlags = function() {
933 function MakeExecutionState(break_id) {
937 function ExecutionState(break_id) {
942 ExecutionState.prototype.prepareStep = function(opt_action, opt_count) {
950 ExecutionState.prototype.evaluateGlobal = function(source, disable_break,
957 ExecutionState.prototype.frameCount = function() {
961 ExecutionState.prototype.threadCount = function() {
965 ExecutionState.prototype.frame = function(opt_index) {
974 ExecutionState.prototype.setSelectedFrame = function(index) {
980 ExecutionState.prototype.selectedFrame = function() {
984 ExecutionState.prototype.debugCommandProcessor = function(opt_is_running) {
989 function MakeBreakEvent(exec_state, break_points_hit) {
994 function BreakEvent(exec_state, break_points_hit) {
1000 BreakEvent.prototype.executionState = function() {
1005 BreakEvent.prototype.eventType = function() {
1010 BreakEvent.prototype.func = function() {
1015 BreakEvent.prototype.sourceLine = function() {
1020 BreakEvent.prototype.sourceColumn = function() {
1025 BreakEvent.prototype.sourceLineText = function() {
1030 BreakEvent.prototype.breakPointsHit = function() {
1035 BreakEvent.prototype.toJSONProtocol = function() {
1073 function MakeExceptionEvent(exec_state, exception, uncaught) {
1078 function ExceptionEvent(exec_state, exception, uncaught) {
1085 ExceptionEvent.prototype.executionState = function() {
1090 ExceptionEvent.prototype.eventType = function() {
1095 ExceptionEvent.prototype.exception = function() {
1100 ExceptionEvent.prototype.uncaught = function() {
1105 ExceptionEvent.prototype.func = function() {
1110 ExceptionEvent.prototype.sourceLine = function() {
1115 ExceptionEvent.prototype.sourceColumn = function() {
1120 ExceptionEvent.prototype.sourceLineText = function() {
1125 ExceptionEvent.prototype.toJSONProtocol = function() {
1151 function MakeCompileEvent(exec_state, script, before) {
1156 function CompileEvent(exec_state, script, before) {
1163 CompileEvent.prototype.executionState = function() {
1168 CompileEvent.prototype.eventType = function() {
1177 CompileEvent.prototype.script = function() {
1182 CompileEvent.prototype.toJSONProtocol = function() {
1197 function MakeNewFunctionEvent(func) {
1202 function NewFunctionEvent(func) {
1207 NewFunctionEvent.prototype.eventType = function() {
1212 NewFunctionEvent.prototype.name = function() {
1217 NewFunctionEvent.prototype.setBreakPoint = function(p) {
1222 function MakeScriptCollectedEvent(exec_state, id) {
1227 function ScriptCollectedEvent(exec_state, id) {
1233 ScriptCollectedEvent.prototype.id = function() {
1238 ScriptCollectedEvent.prototype.executionState = function() {
1243 ScriptCollectedEvent.prototype.toJSONProtocol = function() {
1253 function MakeScriptObject_(script, include_source) {
1270 function DebugCommandProcessor(exec_state, opt_is_running) {
1276 DebugCommandProcessor.prototype.processDebugRequest = function (request) {
1281 function ProtocolMessage(request) {
1301 ProtocolMessage.prototype.setOption = function(name, value) {
1309 ProtocolMessage.prototype.failed = function(message) {
1315 ProtocolMessage.prototype.toJSONProtocol = function() {
1363 DebugCommandProcessor.prototype.createResponse = function(request) {
1368 DebugCommandProcessor.prototype.processDebugJSONRequest = function(
1518 DebugCommandProcessor.prototype.continueRequest_ = function(request, response) {
1560 DebugCommandProcessor.prototype.breakRequest_ = function(request, response) {
1566 function(request, response) {
1590 // Either function or script break point.
1592 if (type == 'function') {
1593 // Handle function break point.
1600 // Find the function through a global evaluate.
1608 response.failed('"' + target + '" does not evaluate to a function');
1612 // Set function break point.
1622 return response.failed('Object #' + handle + '# is not a function');
1625 // Set function break point.
1677 response.body.type = 'function';
1683 DebugCommandProcessor.prototype.changeBreakPointRequest_ = function(
1724 DebugCommandProcessor.prototype.clearBreakPointGroupRequest_ = function(
1759 DebugCommandProcessor.prototype.clearBreakPointRequest_ = function(
1784 DebugCommandProcessor.prototype.listBreakpointsRequest_ = function(
1827 function(request, response) {
1834 function(request, response) {
1878 DebugCommandProcessor.prototype.backtraceRequest_ = function(
1935 DebugCommandProcessor.prototype.frameRequest_ = function(request, response) {
1954 DebugCommandProcessor.prototype.frameForScopeRequest_ = function(request) {
1969 DebugCommandProcessor.prototype.scopesRequest_ = function(request, response) {
1993 DebugCommandProcessor.prototype.scopeRequest_ = function(request, response) {
2015 DebugCommandProcessor.prototype.evaluateRequest_ = function(request, response) {
2095 DebugCommandProcessor.prototype.getobjRequest_ = function(request, response) {
2113 DebugCommandProcessor.prototype.lookupRequest_ = function(request, response) {
2147 function(request, response) {
2181 DebugCommandProcessor.prototype.sourceRequest_ = function(request, response) {
2225 DebugCommandProcessor.prototype.scriptsRequest_ = function(request, response) {
2294 DebugCommandProcessor.prototype.threadsRequest_ = function(request, response) {
2316 DebugCommandProcessor.prototype.suspendRequest_ = function(request, response) {
2321 DebugCommandProcessor.prototype.versionRequest_ = function(request, response) {
2328 DebugCommandProcessor.prototype.profileRequest_ = function(request, response) {
2340 DebugCommandProcessor.prototype.changeLiveRequest_ = function(
2382 DebugCommandProcessor.prototype.debuggerFlagsRequest_ = function(request,
2415 DebugCommandProcessor.prototype.v8FlagsRequest_ = function(request, response) {
2422 DebugCommandProcessor.prototype.gcRequest_ = function(request, response) {
2435 function(request, response) {
2441 function(request, response) {
2452 DebugCommandProcessor.prototype.lolDiffRequest_ = function(request, response) {
2467 DebugCommandProcessor.prototype.lolGetIdRequest_ = function(request, response) {
2474 DebugCommandProcessor.prototype.lolInfoRequest_ = function(request, response) {
2481 DebugCommandProcessor.prototype.lolResetRequest_ = function(request, response) {
2487 function(request, response) {
2499 DebugCommandProcessor.prototype.lolPathRequest_ = function(request, response) {
2507 DebugCommandProcessor.prototype.lolPrintRequest_ = function(request, response) {
2516 DebugCommandProcessor.prototype.isRunning = function() {
2521 DebugCommandProcessor.prototype.systemBreak = function(cmd, args) {
2526 function NumberToHex8Str(n) {
2542 * object. For type "object" the function will be called recursively. Note that
2549 function ObjectToProtocolObject_(object, mirror_serializer) {
2576 function ArrayToProtocolArray_(array, mirror_serializer) {
2592 function ValueToProtocolValue_(value, mirror_serializer) {