Home
last modified time | relevance | path

Searched refs:debuggerInfo (Results 1 – 2 of 2) sorted by relevance

/third_party/quickjs/
Ddebugger.c90 static JSValue DBG_ReadMsg(DebuggerInfo *debuggerInfo) in DBG_ReadMsg() argument
92 if (debuggerInfo == NULL) { in DBG_ReadMsg()
96 while (QueueIsEmpty(debuggerInfo->client)) { in DBG_ReadMsg()
100 const char *message = QueueFront(debuggerInfo->client); in DBG_ReadMsg()
102 JSValue msg = JS_ParseJSON(debuggerInfo->cx, message, strlen(message), "<debugger>"); in DBG_ReadMsg()
103 QueuePop(debuggerInfo->client); in DBG_ReadMsg()
108 static void DBG_SendMsg(DebuggerInfo *debuggerInfo, JSValue msgBody) in DBG_SendMsg() argument
110 if (debuggerInfo == NULL) { in DBG_SendMsg()
113 JSContext *cx = debuggerInfo->cx; in DBG_SendMsg()
138 int writeMsgLenRet = DBG_SocketWrite(debuggerInfo->client, msglen, WRITE_MSG_LEN - 1); in DBG_SendMsg()
[all …]
Ddebugger.h108 void DBG_FreeSources(JSContext *cx, DebuggerInfo *debuggerInfo);