DebugClients/Python2/DebugProtocol.py

branch
jsonrpc
changeset 5133
b7fe69c6cb1c
parent 5132
a094eee9f862
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DebugClients/Python2/DebugProtocol.py	Sat Sep 03 18:12:12 2016 +0200
@@ -0,0 +1,88 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2002 - 2016 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module defining the debug protocol tokens.
+"""
+# TODO: delete this file
+# The address used for debugger/client communications.
+DebugAddress = '127.0.0.1'
+
+# The protocol "words".
+RequestOK = '>OK?<'
+RequestEnv = '>Environment<'
+RequestCapabilities = '>Capabilities<'
+RequestLoad = '>Load<'
+RequestRun = '>Run<'
+RequestCoverage = '>Coverage<'
+RequestProfile = '>Profile<'
+RequestContinue = '>Continue<'
+RequestStep = '>Step<'
+RequestStepOver = '>StepOver<'
+RequestStepOut = '>StepOut<'
+RequestStepQuit = '>StepQuit<'
+RequestBreak = '>Break<'
+RequestBreakEnable = '>EnableBreak<'
+RequestBreakIgnore = '>IgnoreBreak<'
+RequestWatch = '>Watch<'
+RequestWatchEnable = '>EnableWatch<'
+RequestWatchIgnore = '>IgnoreWatch<'
+RequestVariables = '>Variables<'
+RequestVariable = '>Variable<'
+RequestSetFilter = '>SetFilter<'
+RequestThreadList = '>ThreadList<'
+RequestThreadSet = '>ThreadSet<'
+RequestEval = '>Eval<'
+RequestExec = '>Exec<'
+RequestShutdown = '>Shutdown<'
+RequestBanner = '>Banner<'
+RequestCompletion = '>Completion<'
+RequestUTPrepare = '>UTPrepare<'
+RequestUTRun = '>UTRun<'
+RequestUTStop = '>UTStop<'
+RequestForkTo = '>ForkTo<'
+RequestForkMode = '>ForkMode<'
+
+ResponseOK = '>OK<'
+ResponseCapabilities = RequestCapabilities
+ResponseContinue = '>Continue<'
+ResponseException = '>Exception<'
+ResponseSyntax = '>SyntaxError<'
+ResponseSignal = '>Signal<'
+ResponseExit = '>Exit<'
+ResponseLine = '>Line<'
+ResponseRaw = '>Raw<'
+ResponseClearBreak = '>ClearBreak<'
+ResponseBPConditionError = '>BPConditionError<'
+ResponseClearWatch = '>ClearWatch<'
+ResponseWPConditionError = '>WPConditionError<'
+ResponseVariables = RequestVariables
+ResponseVariable = RequestVariable
+ResponseThreadList = RequestThreadList
+ResponseThreadSet = RequestThreadSet
+ResponseStack = '>CurrentStack<'
+ResponseBanner = RequestBanner
+ResponseCompletion = RequestCompletion
+ResponseUTPrepared = '>UTPrepared<'
+ResponseUTStartTest = '>UTStartTest<'
+ResponseUTStopTest = '>UTStopTest<'
+ResponseUTTestFailed = '>UTTestFailed<'
+ResponseUTTestErrored = '>UTTestErrored<'
+ResponseUTTestSkipped = '>UTTestSkipped<'
+ResponseUTTestFailedExpected = '>UTTestFailedExpected<'
+ResponseUTTestSucceededUnexpected = '>UTTestSucceededUnexpected<'
+ResponseUTFinished = '>UTFinished<'
+ResponseForkTo = RequestForkTo
+
+PassiveStartup = '>PassiveStartup<'
+
+RequestCallTrace = '>CallTrace<'
+CallTrace = '>CallTrace<'
+
+EOT = '>EOT<\n'
+
+#
+# eflag: FileType = Python2
+# eflag: noqa = M601, M702

eric ide

mercurial