Searched refs:debuggerInfo (Results 1 – 2 of 2) sorted by relevance
90 static JSValue DBG_ReadMsg(DebuggerInfo *debuggerInfo) in DBG_ReadMsg() argument92 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() argument110 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 …]
108 void DBG_FreeSources(JSContext *cx, DebuggerInfo *debuggerInfo);