Lines Matching refs:msgBody
108 static void DBG_SendMsg(DebuggerInfo *debuggerInfo, JSValue msgBody) in DBG_SendMsg() argument
117 JSValueConst args[] = {msgBody, JS_UNDEFINED, JS_UNDEFINED}; in DBG_SendMsg()
175 JSValue msgBody = JS_NewObject(cx); in DBG_SendStopMsg() local
176 JS_SetPropertyStr(cx, msgBody, "type", JS_NewString(cx, "event")); in DBG_SendStopMsg()
177 JS_SetPropertyStr(cx, msgBody, "event", stopEvent); in DBG_SendStopMsg()
178 DBG_SendMsg(debuggerInfo, msgBody); in DBG_SendStopMsg()
179 JS_FreeValue(cx, msgBody); in DBG_SendStopMsg()
195 JSValue msgBody = JS_NewObject(cx); in DBG_SendResponseMsg() local
196 JS_SetPropertyStr(cx, msgBody, "type", JS_NewString(cx, "response")); in DBG_SendResponseMsg()
197 JS_SetPropertyStr(cx, msgBody, "request_seq", JS_GetPropertyStr(cx, request, "request_seq")); in DBG_SendResponseMsg()
198 JS_SetPropertyStr(cx, msgBody, "body", body); in DBG_SendResponseMsg()
199 DBG_SendMsg(debuggerInfo, msgBody); in DBG_SendResponseMsg()
200 JS_FreeValue(cx, msgBody); in DBG_SendResponseMsg()