eclipse-cdt-cloud / cdt-gdb-adapter

CDT GDB Debug Adapter
Eclipse Public License 2.0
28 stars 40 forks source link

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

Open noneghost opened 1 year ago

noneghost commented 1 year ago

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.

noneghost commented 1 year ago

Similarly, cannot set breakpoints

noneghost commented 1 year ago

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