rem: if (message->what == ALERT_MESSAGE) { printf("debug_server: ALERT_MESSAGE received for thread %ld\n", fThread); int32 which; if (message->FindInt32("which", &which) != B_OK) which = 1;
add: if (message->what == DEBUG_MESSAGE) {  if (DebugMessage *message = fDebugMessages.Head()) { fDebugMessages.Remove(message);
context: ThreadDebugHandler::MessageReceived(BMessage *message){	if (message->what == ALERT_MESSAGE) {printf("debug_server: ALERT_MESSAGE received for thread %ld\n", fThread);		int32 which;		if (message->FindInt32("which", &which) != B_OK)			which = 1;		if (which == 0)			fTeamHandler->EnterDebugger();		else			fTeamHandler->KillTeam();	}}