eclipse-cdt-cloud/cdt-gdb-adapter

Windows: Click pause button, program can`t pause when program is running without any breakpoints.

noneghost opened this issue · 2 comments

Click pause button, program can`t pause when program is running without any breakpoints.

I find child_process.kill('SIGINT') can't pause program in windows platfrom. Because windows cmd console special mechanisms.

Similarly, cannot set breakpoints

I found that to terminate a process, you have to send a CTRL-C-EVENT signal to the current process group via GenerateConsoleCtrlEvent