Lines Matching refs:scripts
58 // The different types of scripts matching enum ScriptType in objects.h.
527 var scripts = Debug.scripts();
530 for (var i in scripts) {
531 var script = scripts[i];
685 var scripts = this.scripts();
686 for (var i = 0; i < scripts.length; i++) {
687 if (script_id == scripts[i].id) {
688 break_point.actual_position = %SetScriptBreakPoint(scripts[i], position,
795 // Run through all scripts to see if this script break point matches any
796 // loaded scripts.
797 var scripts = this.scripts();
798 for (var i = 0; i < scripts.length; i++) {
799 if (script_break_point.matchesScript(scripts[i])) {
800 script_break_point.set(scripts[i]);
919 // Get all the scripts currently loaded. Locating all the scripts is based on
921 Debug.scripts = function() {
922 // Collect all scripts in the heap.
1440 } else if (request.command == 'scripts') {
2263 // Collect all scripts in the heap.
2264 var scripts = %DebugGetLoadedScripts();
2268 for (var i = 0; i < scripts.length; i++) {
2269 if (idsToInclude && !idsToInclude[scripts[i].id]) {
2273 var script = scripts[i];
2287 if (types & ScriptTypeFlag(scripts[i].type)) {
2288 response.body.push(MakeMirror(scripts[i]));
2351 var scripts = %DebugGetLoadedScripts();
2354 for (var i = 0; i < scripts.length; i++) {
2355 if (scripts[i].id == script_id) {
2356 the_script = scripts[i];