debug UEFI Event

Stanley Gan

Hello All,
I have an event callback function not called. So, I want to track event execution in UEFI. There is a "DEBUG_EVENT" debug level in EDKII. But no module in EDKII actually use this debug level.
I add some debug print in "CoreCreateEventInternal" and "CoredispatchEventNotifies"´╝îit cause TPL ASSERT. Can anybody give me some constructive debug suggestion?