Profile func debug