Moved event generation to Debug class.

Removed event generation from EventTable.