This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem attaching strace to a process


"Christopher Faylor" <cgf-cygwin@cygwin.com> wrote:
>
> On Fri, May 24, 2002 at 05:32:22AM +0100, Conrad Scott wrote:
> >
> >I'm trying to use strace to attach to a running process (strace -p pid)
but
> >I'm not getting anywhere.
> >
> >To be precise, I get no output until the target process exits, when I
get,
> >for example, 'Attached to pid 2236 (windows pid 2156)', and no strace
> >output.
> >
> >If I strace strace doing this, I get:
> >
> >[strace output snipped]
>
> strace only works on cygwin processes.  strace itself is not a cygwin
> process.  So, "strace strace" is a no-op.
>
> cgf

Duh! of course. And I was just trying to provide some useful information :-(

But my problem still remains that I don't get anything out of strace -p pid
(even when the target is a cygwin application). Is there some magic I'm
missing?

// Conrad



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]