Numerical simulation of the problem of interaction of the supersonic (M∞=2) boundary layer on the plate with weak shock waves was performed. The shock wave was generated using a wedge located above the plate. The problem was solved using the computational technology, combining the ANSYS Fluent gasdynamic package, which calculates the main flow, and the LOTRAN 3.0 software package, which calculates not only the stability of no-break flow, but also the laminar flow failure. The intensity of the incident shock wave was varied by varying the wedge inclination angle. The N-factor envelopes of the Tollmien-Schlichting wave instability for different wedge tilt angles, including those in the local breakaway zones, were obtained. It is demonstrated that the proposed approach using the ANSYS Fluent and LOTRAN 3.0 combination computational technology allows one to calculate the stability of flows with the shockwave, including the presence of local breakaway zones.