Ultrasound. In addition to showing the hydronephrosis, it may demonstrate multiple echoes within the urine due to infected debris.