Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send signal to process under debug with GDB DSF in Eclipse CDT (Juno)

Can somebody please explain how to send a signal to a process being debugged under Eclipse CDT using GDB (DSF)? Apparently the Signals view in Eclipse (Junon) is no longer used, and I'm fairly inexperienced in debugging with Eclipse + CDT.

like image 886
Alex Marshall Avatar asked Nov 03 '22 05:11

Alex Marshall


1 Answers

One thing you could try is, find the id of the process from a terminal window, using ps -ef. Then use the kill command to send the signal from the terminal window, eg. kill -2 <id> will send a SIGINT to the process.

like image 133
Nigel Scott Avatar answered Nov 09 '22 15:11

Nigel Scott