Is there a way to hook into asserts (assert, Assert_IsTrue, etc) so my function is called everytime there is an assert? Someone suggested using xdc.runtime.Error, but I couldn't find info for creating a hook. I tried "raiseHook", using the following piece in xdc configuration
var errorHandler = xdc.useModule('xdc.runtime.Error');
errorHandler.raiseHook = '&M3ErrorHandler';
but that didn't work.
I appreciate any help with this.
Thanks,
AniL