add frame type trace