Step debugging Node.js

3 views
Skip to first unread message

Randy Shepherd

unread,
Oct 8, 2010, 11:29:51 PM10/8/10
to mongo-node...@googlegroups.com
I was able to get step debugging working with eclipse and node.js
following this tutorial...
http://github.com/ry/node/wiki/using-eclipse-as-node-applications-debugger

It works quite well, I can now run the code from the examples directory
of the driver and set breakpoints.

Note this gotcha at the end of the tutorial though..
"Note: If node segfaults when you are trying to debug, recompile node
with set GCC_VERSION=44 before running make during node installation "
If you have this problem, run the following commands from your node js
installation directory

make distclean
./configure
export GCC_VERSION=44
make
sudo make install

(those commands will vary a little for windows)

Reply all
Reply to author
Forward
0 new messages