Created
February 26, 2013 04:54
-
-
Save isaacs/5036002 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) break malloc_error_break | |
Note: breakpoint 1 also set at pc 0x7fff8dfa46c0. | |
Breakpoint 2 at 0x7fff8dfa46c0 | |
(gdb) set follow-fork-mode child | |
(gdb) set args test/simple/test-debugger-repl.js | |
(gdb) run | |
Starting program: /Users/isaacs/dev/js/node-master/node test/simple/test-debugger-repl.js | |
Reading symbols for shared libraries . done | |
./node debug --port=13683 /Users/isaacs/dev/js/node-master/test/fixtures/breakpoints.js | |
node(34427) malloc: *** mmap(size=18446744072116768768) failed (error code=12) | |
*** error: can't allocate region | |
*** set a breakpoint in malloc_error_break to debug | |
line> debug>< debugger listening on port 13683 | |
line> debug>connecting...quit | |
!= /break in .*:1/ug>connecting...quit | |
Program exited with code 01. | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment