| Предыдущий | Следующий |
| ERROR_PARAMETER_QUOTA_EXCEEDED | ERROR_DELAY_LOAD_FAILED |
ERROR_DEBUGGER_INACTIVE
Что означает ERROR_DEBUGGER_INACTIVE
ERROR_DEBUGGER_INACTIVE — операция с объектом отладки не выполнена, поскольку объект находится в процессе удаления.
Что проверить
Определите событие отладки, процесс или поток и действие отладчика, для которого получен этот статус.
- Различайте управляющие DBG_* результаты (continue/handled/reply later) и реальное исключение debuggee.
- Сохраняйте original exception code и context до того, как debugger преобразует событие в собственный control status.
Исходная формулировка
a debugging operation targeted a debug object that was already being torn down or deleted.
the debuggee exits and late code tries to manipulate its debug session
ERROR_INVALID_HANDLE can describe any invalid handle. ERROR_PROCESS_ABORTED concerns process termination. Error 1284 specifically reports that the debug object used to coordinate debugging is in deletion, making debugger lifecycle the primary investigation area.
Use one synchronization point to move the session from active to stopping, then reject new operations.
A debugger UI offers “Stop debugging” while a worker thread is processing an exception event. The UI thread detaches and closes state immediately; the worker then calls ContinueDebugEvent and receives 1284. Joining the event worker before final teardown removes the race.
Технические ссылки
- Microsoft: System Error Codes (1000–1299)
- Microsoft: About basic debugging
- Microsoft: WaitForDebugEvent
- Microsoft: ContinueDebugEvent
Нужно найти другой код? Найти другой код состояния или ошибки.
