GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node/test/debugger/test-debugger-repl-restart.js at master · csgui/node Expand file tree/ Copy pathtest-debugger-repl-restart.jsMore file actions 21 lines (17 loc) · 574 Bytes / Copy pathtest-debugger-repl-restart.jsFile metadata and controls21 lines (17 loc) · 574 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 'use strict'; require('../common'); var repl = require('./helper-debugger-repl.js'); repl.startDebugger('breakpoints.js'); var linesWithBreakpoint = [ /1/, /2/, /3/, /4/, /5/, /\* 6/ ]; // We slice here, because addTest will change the given array. repl.addTest('sb(6)', linesWithBreakpoint.slice()); var initialLines = repl.initialLines.slice(); initialLines.splice(2, 0, /Restoring/, /Warning/); // Restart the debugged script repl.addTest('restart', [ /terminated/, ].concat(initialLines)); repl.addTest('list(5)', linesWithBreakpoint); repl.addTest('quit', []); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |