Commit 3ea8fe07 authored by hjk's avatar hjk
Browse files

debugger: augment state diagram

parent c60f1468
......@@ -98,39 +98,47 @@
// Note: the Debugger process itself is referred to as 'Debugger',
// whereas the debugged process is referred to as 'Inferior'.
//
// 0 == DebuggerNotReady
// |
// EngineStarting
// |
// AdapterStarting --> AdapterStartFailed --> 0
// |
// AdapterStarted
// |
// InferiorStarting --> InferiorStartFailed --> 0
// | |
// | |
// InferiorStopped |
// | |
// | <--------
// | .------------------------------------.
// | v |
// InferiorRunningRequested |
// | |
// InferiorRunning --> 1 (normal exit) |
// | |
// InferiorStopping |
// | |
// InferiorStopped --> 1 |
// | |
// `---------------------------------------'
//
// 1 == InferiorShuttingDown -> InferiorShutdownFailed
// |
// InferiorShutDown
// |
// AdapterShuttingDown -> AdapterShutdownFailed --> 0
// |
// 0
// 0 == DebuggerNotReady
// |
// EngineStarting
// |
// AdapterStarting --> AdapterStartFailed --> 0
// |
// AdapterStarted
// |
// InferiorPreparing --> InferiorPreparationFailed --> 0
// |
// InferiorPrepared
// |
// InferiorStarting --> InferiorStartFailed --> 0
// |
// (core) |
// .-----------------<-|
// | | (attach)
// InferiorUnrunnable |----------------------.
// | | v
// | |
// | | .------------------------------------.
// | | v |
// | InferiorRunningRequested v |
// | | | |
// | .---- InferiorRunning | |
// | | | | |
// | | InferiorStopping | |
// | | | | |
// | v v | |
// | |<--- InferiorStopped <-----------' |
// | | | |
// | | `---------------------------------------'
// | |
// | '---> InferiorShuttingDown -> InferiorShutdownFailed
// | |
// | InferiorShutDown
// | |
// | v
// '------------> AdapterShuttingDown -> AdapterShutdownFailed --> 0
// |
// 0
//
// Allowed actions:
// [R] : Run
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment