User forums > Help
How to interrupt a running program within gdb
kai7:
Hi,
I am using Code::Blocks under Windows with MinGW. I assume that everyone who is doing the same has this annoying problem: You can't interrupt a running application in a debug session if you have no breakpoint set. Now I found a workaround for this problem:
http://cygwin.com/ml/cygwin/2006-06/msg00321.html
There is the source code included for a small program that could interrupt a running debuged application. It's simple and it's working very well. Wouldn't it be a good idea to integrate it in C::B?
-Kai
mandrav:
Thanks for this, will have a look.
Pecan:
--- Quote from: kai7 on March 08, 2007, 10:22:18 am ---Hi,
I am using Code::Blocks under Windows with MinGW. I assume that everyone who is doing the same has this annoying problem: You can't interrupt a running application in a debug session if you have no breakpoint set. Now I found a workaround for this problem:
http://cygwin.com/ml/cygwin/2006-06/msg00321.html
There is the source code included for a small program that could interrupt a running debuged application. It's simple and it's working very well. Wouldn't it be a good idea to integrate it in C::B?
-Kai
--- End quote ---
Interesting... though it would best be included in the win version of gdb.
I'll give it a test run.
mandrav:
Rev.3678 contains this workaround, thanks for the tip kai7 :).
Pecan:
--- Quote from: mandrav on March 09, 2007, 12:33:56 am ---Rev.3678 contains this workaround, thanks for the tip kai7 :).
--- End quote ---
Excellent !
Navigation
[0] Message Index
[#] Next page
Go to full version