There are certain situations where a Debian upgrade will break a specific package - maybe due to upstream messing up really badly, or maybe due to some unusual way of configuring it. But in that case, the release notes that Debian publishes for each release would cover that particular problem for sure. Mistakes happen, and noone's perfect - but Debian tries to be, and they're very near that ideal in terms of ensuring your ability to upgrade your installation.