code invoke chain

trace function invoke chain