Expansion valve failure?

Why did you replace the compressor? Did it go bad? When they fail, they can puke all kinda nasty through the system. The two main places debris gets caught? Expansion valve and drier. Sometimes the condenser too.