mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
The copyright and license notice is already in the LICENSE file. There is no justifiable reason to also require that it be included in every file, since the individual files are not individually distributed except as part of the entire package.
43 lines
657 B
JavaScript
43 lines
657 B
JavaScript
process.env.NODE_FORCE_READLINE = 1;
|
|
|
|
var repl = require('./helper-debugger-repl.js');
|
|
|
|
repl.startDebugger('breakpoints.js');
|
|
|
|
var addTest = repl.addTest;
|
|
|
|
// next
|
|
addTest('n', [
|
|
/debug>.*n/,
|
|
/break in .*:11/,
|
|
/9/, /10/, /11/, /12/, /13/
|
|
]);
|
|
|
|
// should repeat next
|
|
addTest('', [
|
|
/debug>/,
|
|
/break in .*:5/,
|
|
/3/, /4/, /5/, /6/, /7/,
|
|
]);
|
|
|
|
// continue
|
|
addTest('c', [
|
|
/debug>.*c/,
|
|
/break in .*:12/,
|
|
/10/, /11/, /12/, /13/, /14/
|
|
]);
|
|
|
|
// should repeat continue
|
|
addTest('', [
|
|
/debug>/,
|
|
/break in .*:5/,
|
|
/3/, /4/, /5/, /6/, /7/,
|
|
]);
|
|
|
|
// should repeat continue
|
|
addTest('', [
|
|
/debug>/,
|
|
/break in .*:23/,
|
|
/21/, /22/, /23/, /24/, /25/,
|
|
]);
|