On Wed, Jun 17, 2009 at 03:48:11AM +0100, Dave Korn wrote: >Eric Blake wrote: >>I'm not quite sure how to strace this, since you can't use ^Z to >>suspend an active strace. > >Attach GDB during "sleep 100". Set strace variables in DLL using 'set' >command if needed, or just debug.
This has already been fixed in CVS but if you want to debug a process which has been forked/execed you can also build cygwin with --enable-debugging and then: c:\>set CYGWIN_DEBUG=cat c:\>bash % cat | cat This will pop up two debugger windows for the cat processes. This functonality was broken for a while but I fixed it a week or so ago. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/