Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] DSF: cannot pause a program

> I had commented out discrimination of cygwin-based programs in
> starter.exe (i.e. use GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0)
> unconditionally).
>
> And this works!

There seems to be some problem with DSF in this case:
if you debug the Test.exe with standard launcher, it works pretty good.
DFS seems to hang up:

395,158 20^running
395,158 (gdb)
395,158 !!!Hello World!!!
395,158 Please, enter a value
395,158 ~"[New thread 7776.0x2f0]\n"
402,814 ~"[New thread 7776.0x940]\n"
402,814 ~"[Switching to thread 7776.0x940]\n"
402,814 20*stopped,reason="signal-received",signal-name="SIGINT",signal-meaning="Interrupt",thread-i\
d="5",frame={addr="0x7c87635d",func="??",args=[],from="/c/WINDOWS/system32/kernel32.dll"}
402,814 (gdb)
403,033 21-thread-select 2
403,033 22-stack-info-depth 11
403,033 23-thread-select 1
403,033 24-stack-info-depth 11

And nothing happens...

If replace the "cout >> a" with "while(1) {}", everything works ok
with DSF, program can be paused.

Is this because DSF redirects input and output to the CDT console?

Dmitry


Back to the top