// Copyright (C) 2026 SharpEmu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
namespace SharpEmu.Debugger.Session;
/// Why the target stopped and handed control to the debugger.
public enum DebugStopReason
{
/// Stopped at the configured entry point before running any frame.
EntryPoint,
/// An execution breakpoint was hit.
Breakpoint,
/// A data watchpoint was hit.
Watchpoint,
/// A single-step (frame step) request completed.
Step,
/// A client-requested pause took effect.
Pause,
/// The guest raised a fault or trap.
Fault,
///
/// The backend detected an execution stall (for example a mutex spin loop /
/// livelock) with no forward progress.
///
Stall,
}