| 198 | } |
| 199 | |
| 200 | void Debugger::ProcessAlive() |
| 201 | { |
| 202 | static int lastAlive = GetTickCount(); |
| 203 | |
| 204 | int time = GetTickCount(); |
| 205 | int delay = time - lastAlive; |
| 206 | lastAlive = time; |
| 207 | |
| 208 | if (delay > 1000) |
| 209 | { |
| 210 | __nop(); |
| 211 | } |
| 212 | if (_watch) |
| 213 | { |
| 214 | _watch->KeepAlive(); |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | Debugger::~Debugger() |
| 219 | { |
no test coverage detected