add: TRACE(("nub_thread_cleanup(%ld): debugger port: %ld\n", nubThread->id, nubThread->team->debug_info.debugger_port));
context: nub_thread_cleanup(struct thread *nubThread){	team_debug_info teamDebugInfo;	bool destroyDebugInfo = false;	cpu_status state = disable_interrupts();	GRAB_TEAM_LOCK();	GRAB_TEAM_DEBUG_INFO_LOCK(nubThread->team->debug_info);	team_debug_info &info = nubThread->team->debug_info;	if (info.flags & B_TEAM_DEBUG_DEBUGGER_INSTALLED		&& info.nub_thread == nubThread->id) {		teamDebugInfo = info;		clear_team_debug_info(&info, false);		destroyDebugInfo = true;	}	RELEASE_TEAM_DEBUG_INFO_LOCK(nubThread->team->debug_info);	RELEASE_TEAM_LOCK();	restore_interrupts(state);	if (destroyDebugInfo)		destroy_team_debug_info(&teamDebugInfo);	// notify all threads that the debugger is gone	broadcast_debugged_thread_message(nubThread,		B_DEBUGGED_THREAD_DEBUGGER_CHANGED, NULL, 0);}