1. A computer-readable storage medium containing debugging software that, when executed by a processor, causes the processor to: generate an event signal and an event code, the event code comprising a total quantity of bits; and provide the event signal and the event code to an event detection logic coupled to the processor, said event detection logic adapted to generate a plurality of events; wherein a number of events generated corresponds to said event code; wherein said number is approximately 2 n , and wherein n is the total quantity of bits in the event code.