trace() function not running
These is a file im working with in a tutorial
VirtualZoo.as
package zoo {
trace("check");
public class VirtualZoo {
private var pet;
public function VirtualZoo ( ) {
this.pet = new VirtualPet("Stan");
var oldName = pet.getName();
pet.setName("Marcos");
var consume = pet.eat;
consume(300);
}
}
}
the other class is unimportant. When I run this in debug mode in flexBuilder I am not seeing my trace statement in the output. Any reason why? I have also tried putting the trace statement in the constructor and it still doesn't work.