29 static bool InitDebug(
const char *szPassword,
const char *szHost);
30 bool Listen(uint16_t iPort,
bool fWait);
34 bool fInit, fConnected;
52 std::list<StdStrBuf*> StackTrace;
55 const char* RelativePath(
StdStrBuf &path);
71 void SetPassword(
const char *szPassword) { Password = szPassword; }
75 bool Init(uint16_t iPort)
override;
76 bool Close()
override;
81 void OnLog(
const char *szLine);
85 struct ProcessLineResult
89 ProcessLineResult(
bool okay,
const std::string answer)
90 : okay(okay), answer(answer) {}
95 ProcessLineResult ProcessLine(
const StdStrBuf &Line);
97 bool SendLine(
const char *szType,
const char *szData =
nullptr);
void DebugStep(C4AulBCC *pCPos, C4Value *stackTop)
static bool InitDebug(const char *szPassword, const char *szHost)
void SetEngine(class C4AulExec *pnExec)
void ControlScriptEvaluated(const char *script, const char *result)
bool Init(uint16_t iPort) override
bool Listen(uint16_t iPort, bool fWait)
bool SetAllowed(const char *szHost)
void OnLog(const char *szLine)
static C4AulDebug * GetDebugger()
void SetPassword(const char *szPassword)