The two-dimensional boundary-layer flow over a cooled/heated flat plate is investigated. A cooled plate (with a free-stream flow and wall temperature distribution which admit similarity solutions) is shown to support non-modal disturbances, which grow algebraically with distance downstream from the leading edge of the plate. In a number of flow regimes, these modes have diminishingly small wavelength, which may be studied in detail using asymptotic analysis. Corresponding non-self-similar solutions are also investigated. It is found that there are important regimes in which if the temperature of the plate varies (in such a way to break self-similarity), then standard numerical schemes exhibit a breakdown at a finite distance downstream. This breakdown is shown to be related to very short-scale disturbance modes, which manifest themselves by means of the spontaneous formation of an essential singularity at a finite downstream location. We show how these difficulties can be overcome by treating the problem in a quasielliptic manner, in particular by prescribing suitable downstream (in addition to upstream) boundary conditions.