www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - [ddbg] Capture Ctrl+C or Ctrl+Break?

reply "Vladimir Panteleev" <thecybershadow gmail.com> writes:
Hi Jascha,

Is it possible that Ddbg would make use of the SetConsoleCtrlHandler Windows
API to handle Ctrl+Break signals, so it's possible to break an application
that's running in the same console window as the debugger?

-- 
Thanks,
  Vladimir                          mailto:thecybershadow gmail.com
Jul 01 2007
parent Jascha Wetzel <firstname mainia.de> writes:
Vladimir Panteleev wrote:
 Hi Jascha,
 
 Is it possible that Ddbg would make use of the SetConsoleCtrlHandler Windows
API to handle Ctrl+Break signals, so it's possible to break an application
that's running in the same console window as the debugger?
 

yep, i have that on my todo list for a while now. i'll move it up a bit ;) atm, you can only use ctrl+c if the debuggee is running in a separate console (nc command).
Jul 02 2007