How to debug generated function and FunctionWrappers?

I need to step through a wrapped generated function in OrdinaryDiffEq. However I don’t even know how to debug in a generated function nor a wrapped function (which is a pointer in wrapper). Could someone please show me an example of how to debug them?