rem: Lock(); fDebugMessages.Add(message); Unlock();  PostMessage(DEBUG_MESSAGE);
add: TeamDebugHandlerRoster::Default()->DispatchMessage(message);
context: DebugServer::_Listener(){	while (!fTerminating) {		// receive the next debug message		DebugMessage *message = new DebugMessage;		int32 code;		ssize_t bytesRead;		do {			bytesRead = read_port(fListenerPort, &code, &message->Data(),				sizeof(debug_debugger_message_data));		} while (bytesRead == B_INTERRUPTED);		if (bytesRead < 0) {			fprintf(stderr, "debug_server: Failed to read from listener port: "				"%s\n", strerror(bytesRead));			exit(1);		}		message->SetCode((debug_debugger_message)code);		// queue the message and send notify the app		Lock();		fDebugMessages.Add(message);		Unlock();		PostMessage(DEBUG_MESSAGE);	}	return B_OK;}