Trace listener: print line numbers