Can I debug node in gdb without new xterm?
In this tutorial is shown how to launch nodes in gdb (and other tools). There are two options for gdb.
- launch-prefix="xterm -e gdb --args" : run your node in a gdb in a separate xterm window, manually type run to start it
- launch-prefix="gdb -ex run --args" : run your node in gdb in the same xterm as your launch without having to type run to start it
Is it possible to run my node in gdb in the same xterm as my launch with having to manually type run to start it? My attempts to do that were unsuccessful.
Isn't the second option you list what you ask?
Nope :-( it automatically runs the node. I want to set breakpoint and som awatches first. And when I remove the run command gdb doesn't launch correctly.