}
protected ACLMessage prepareResultNotification(ACLMessage request, ACLMessage response) {
if (aa instanceof DebugOn) {
// DEBUG ON
DebugOn requestDebugOn = (DebugOn) aa;
// Start debugging existing agents.
// Put non existing agents in the preload map. We will start
// debug them as soon as they start.
List agentsToDebug = requestDebugOn.getCloneOfDebuggedAgents();
for (int i=0;i<agentsToDebug.size();i++) {
AID aid = (AID)agentsToDebug.get(i);
if (allAgents.contains(aid)) {
addAgent(aid);
}