Update() is only called once?

public class testa : testb {
void Update () {
Debug.LogWarning(“TestA’s update”);
}
}

// This one is attached to an empty gameobject in the scene
public class testb : MonoBehaviour {
	void Update () {
        Debug.LogWarning("TestB's update");
	}
}

The console only outputs “TestA’s update” ONCE. Why and how do I solve this?

Make sure that Collapse is off in the Console.

49012-collapse.png

If the problem continues, try to replace the Debug.LogWarning("TestB's update"); with Debug.Log ("TestB's update");.