Code snapshot utility