In GDB on MinGW, how do I make Ctrl-C stop the program?

后端 未结 8 1154
灰色年华
灰色年华 2021-02-05 11:50

I\'m on Windows, running GDB on an executable built under MinGW. The program has an infinite loop. I want to find it by hitting Ctrl + C. When I do, both t

8条回答
  •  悲哀的现实
    2021-02-05 12:27

    Which "shell" are you using? If you use the MSYS "rxvt" shell, the behavior is pretty much as you describe. Ctrl-C only works if you are running from a normal Windows command prompt.

提交回复
热议问题