Tutorial for viva trace analysis