1. An integrated circuit (IC) comprising: a module configured to receive debug triggers and initiate a programmed action on a condition that a corresponding debug trigger or a sequence of debug triggers occurs, wherein the programmed action is one of a main action that feeds back to the module and a pre-selected action that is pipelined.