This is the mail archive of the cygwin 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: attaching debugger to process


On Wed, Dec 29, 2004 at 04:16:00PM -0800, Hans Horn wrote:
>I'm trying to debug a running process by attaching the debugger to it.
>
>From inside the debugger, when I issue a 'where' command, I end up in
>
>Switching to thread 3344.0x564]
>#0  0x7c901231 in ntdll!DbgUiConnectToDbg () from 
>/cygdrive/c/WINDOWS/system32/ntdll.dll
>#1  0x7c9507a8 in ntdll!KiIntSystemCall () from 
>/cygdrive/c/WINDOWS/system32/ntdll.dll
>#2  0x00000005 in ?? ()
>#3  0x00000004 in ?? ()
>#4  0x00000001 in ?? ()
>#5  0x0238ffd0 in ?? ()
>
>When I try to step out of this. insight freezes.
>
>Anybody else seen this?

Seen what?  Seen that windows creates a new thread when you are attaching
to a process.  Yes.

Look at thread 1.  It probably will be more informative.

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/


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