Re: Debug API single-step mode on multi-thread
- From: "Oleg Starodumov" <com-dot-debuginfo-at-oleg>
- Date: Thu, 9 Mar 2006 11:36:38 +0200
In addition to what Tim has already said...
How can I really make a single-step mode:
* step for each thread <----------------------+
|
It is not possible at all to single-step each thread in the process,
because some threads might not be able to execute at all
(e.g. they can be waiting for an unavailable synchronization object,
sleeping, waiting for I/O, suspended from another process,
and so on).
The closest thing you can get is to single-step one thread at a time
(e.g. let the user decide which one) or expect "Step" command
to single-step only those threads that can run (e.g. wait for a predefined
timeout after "Step" command has been issued) and break into
your debugger after that.
Oleg
.
- Follow-Ups:
- Re: Debug API single-step mode on multi-thread
- From: nicolas
- Re: Debug API single-step mode on multi-thread
- References:
- Re: Debug API single-step mode on multi-thread
- From: Oleg Starodumov
- Re: Debug API single-step mode on multi-thread
- From: nicolas
- Re: Debug API single-step mode on multi-thread
- From: Oleg Starodumov
- Re: Debug API single-step mode on multi-thread
- From: nicolas
- Re: Debug API single-step mode on multi-thread
- Prev by Date: Re: DEVICE_NOTIFY_SERVICE_HANDLE
- Next by Date: Re: Administrator elevation via RPC fails on Vista, why?
- Previous by thread: Re: Debug API single-step mode on multi-thread
- Next by thread: Re: Debug API single-step mode on multi-thread
- Index(es):
Relevant Pages
|