0

I have a xinetd service that runs an executable on client requests.

I want to debug executable.

How to do this in smart way?

trupanka
  • 693
  • 8
  • 20
  • Related: [Automatically connect to a CGI process and break in GDB before it exits](https://stackoverflow.com/questions/57230391/automatically-connect-to-a-cgi-process-and-break-in-gdb-before-it-exits) – Mark Plotnick Nov 20 '19 at 23:58
  • I like `while true` but it's not very smart as for me. – trupanka Nov 21 '19 at 10:46
  • If you're on Linux and have systemtap, the other part of that answer (use preattach) should work well. – Mark Plotnick Nov 21 '19 at 14:38

0 Answers0