News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to interrupt a running program within gdb

Started by kai7, March 08, 2007, 10:22:18 AM

Previous topic - Next topic

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

Be patient!
This bug will be fixed soon...

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

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 :).
Be patient!
This bug will be fixed soon...

Pecan


kai7

Quote from: mandrav on March 09, 2007, 12:33:56 AM
Rev.3678 contains this workaround, thanks for the tip kai7 :).

Great. Thank you for integrating it so fast. ;-)