Debug and dispose solver