You may try adding following two lines to soot.baf.JasminClass at about line number 251 (as the first thing in the loop that "emits" statements. LineNumberTag lnTag = (LineNumberTag) s.getTag("LineNumberTag"); if(lnTag != null) emit(".line " + lnTag.getLineNumber()); Saswat