Maybe someone can help me.
I'm programming most of the times code that has to to with communication and have code that hangs when I have an incorrect buffersize

I need a utility or maybe that someone know some code how to interrupt a infinite loop, infinite waiting processes etc. I think of Ctrl+Break or something. Now I use ctrl+alt+delete. But that does terminate the whole program. I need something that does stop the code only the code running at the moment and than return to its normal process the program I'm working in.
Regards,
Marcel