Flex

 

I wanted to see what functions were calling this particular function because they shouldn’t have been when using debug mode.

public static function getUrlParamaters():Dictionary
{
  if (Globals.DEBUG == true)
  {
   trace("Warning: getUrlParamaters() was called during debug and it should not have been.");
   trace(new Error().getStackTrace());
  }
  //more code follows…
}