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):
DebugAdapterLaunch = 0
DebugAdapterAttach = 1
DebugAdapterConnect = 2
DebugAdapterGo = 3
DebugAdapterStepInto = 4
DebugAdapterStepOver = 5
DebugAdapterStepReturn = 6
DebugAdapterPause = 7
DebugAdapterQuit = 8
DebugAdapterDetach = 9
DebugAdapterStepIntoReverse = 10
DebugAdapterStepOverReverse = 11
DebugAdapterGoReverse = 12
DebugAdapterStepReturnReverse = 13
[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
LaunchFailureEventType = 17
StdoutMessageEventType = 18
BackendMessageEventType = 19
TargetExitedEventType = 20
DetachedEventType = 21
QuitDebuggingEventType = 22
BackEndDisconnectedEventType = 23
AbsoluteBreakpointAddedEvent = 24
RelativeBreakpointAddedEvent = 25
AbsoluteBreakpointRemovedEvent = 26
RelativeBreakpointRemovedEvent = 27
ActiveThreadChangedEvent = 28
DebuggerSettingsChangedEvent = 29
RegisterChangedEvent = 30
ThreadStateChangedEvent = 31
ForceMemoryCacheUpdateEvent = 32
ModuleLoadedEvent = 33