import enum
[docs]class DebugAdapterConnectionStatus(enum.IntEnum):
DebugAdapterNotConnectedStatus = 0
DebugAdapterConnectingStatus = 1
DebugAdapterConnectedStatus = 2
[docs]class DebugAdapterTargetStatus(enum.IntEnum):
DebugAdapterInvalidStatus = 0
DebugAdapterRunningStatus = 1
DebugAdapterPausedStatus = 2
[docs]class DebugStopReason(enum.IntEnum):
UnknownReason = 0
InitialBreakpoint = 1
ProcessExited = 2
AccessViolation = 3
SingleStep = 4
Calculation = 5
Breakpoint = 6
IllegalInstruction = 7
SignalHup = 8
SignalInt = 9
SignalQuit = 10
SignalIll = 11
SignalAbrt = 12
SignalEmt = 13
SignalFpe = 14
SignalKill = 15
SignalBus = 16
SignalSegv = 17
SignalSys = 18
SignalPipe = 19
SignalAlrm = 20
SignalTerm = 21
SignalUrg = 22
SignalStop = 23
SignalTstp = 24
SignalCont = 25
SignalChld = 26
SignalTtin = 27
SignalTtou = 28
SignalIo = 29
SignalXcpu = 30
SignalXfsz = 31
SignalVtalrm = 32
SignalProf = 33
SignalWinch = 34
SignalInfo = 35
SignalUsr1 = 36
SignalUsr2 = 37
SignalStkflt = 38
SignalBux = 39
SignalPoll = 40
ExcEmulation = 41
ExcSoftware = 42
ExcSyscall = 43
ExcMachSyscall = 44
ExcRpcAlert = 45
ExcCrash = 46
InternalError = 47
InvalidStatusOrOperation = 48
UserRequestedBreak = 49
OperationNotSupported = 50
[docs]class DebuggerAdapterOperation(enum.IntEnum):
DebugAdapterGo = 0
DebugAdapterStepInto = 1
DebugAdapterStepOver = 2
DebugAdapterStepReturn = 3
DebugAdapterPause = 4
DebugAdapterQuit = 5
DebugAdapterDetach = 6
[docs]class DebuggerEventType(enum.IntEnum):
LaunchEventType = 0
ResumeEventType = 1
StepIntoEventType = 2
StepOverEventType = 3
StepReturnEventType = 4
StepToEventType = 5
RestartEventType = 6
AttachEventType = 7
DetachEventType = 8
ConnectEventType = 9
AdapterStoppedEventType = 10
AdapterTargetExitedEventType = 11
InvalidOperationEventType = 12
InternalErrorEventType = 13
TargetStoppedEventType = 14
ErrorEventType = 15
GeneralEventType = 16
StdoutMessageEventType = 17
BackendMessageEventType = 18
TargetExitedEventType = 19
DetachedEventType = 20
QuitDebuggingEventType = 21
BackEndDisconnectedEventType = 22
AbsoluteBreakpointAddedEvent = 23
RelativeBreakpointAddedEvent = 24
AbsoluteBreakpointRemovedEvent = 25
RelativeBreakpointRemovedEvent = 26
ActiveThreadChangedEvent = 27
DebuggerSettingsChangedEvent = 28
RegisterChangedEvent = 29
ThreadStateChangedEvent = 30
ForceMemoryCacheUpdateEvent = 31