Re: Finding a point where a program is stuck in a loop
- From: Phil Carmody <thefatphil_demunged@xxxxxxxxxxx>
- Date: 26 Jun 2007 20:51:23 +0300
Displacer <spamtrap@xxxxxxxxxx> writes:
I'm debugging a C++ program, I don't have access to the original
source code so I'm doing it with the disassembly. Sometimes the
software appears to gets stuck in a loop, I assume this because the
program looks to freeze, but the debugger I'm running it in says its
still running.
My question is, is there a way to nail down where its getting stuck?
This is a windows program, and I'm using ollydbg as the debugger.
Run it using strace, so see if it's polling on any devices, files,
or locks.
If it isn't then just break it repeatedly in a debugger and find out
which bits of code seem to be run over and over again.
Phil
--
"Home taping is killing big business profits. We left this side blank
so you can help." -- Dead Kennedys, written upon the B-side of tapes of
/In God We Trust, Inc./.
.
- References:
- Finding a point where a program is stuck in a loop
- From: Displacer
- Finding a point where a program is stuck in a loop
- Prev by Date: Finding a point where a program is stuck in a loop
- Next by Date: Re: AT&T or Intel syntax ?
- Previous by thread: Finding a point where a program is stuck in a loop
- Next by thread: Re: Finding a point where a program is stuck in a loop
- Index(es):
Relevant Pages
|