Heating device (11, 111, 211, 311) having a temperature measuring device for the heating device, the heating device (11, 111, 211, 311) having: - a flat carrier (12, 112, 212, 312), - at least one heating conductor (18, 118, 218, 318) on the flat carrier (12, 112, 212, 312), - an electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) on the flat carrier (12, 112, 212, 312), - a layer structure on the carrier (12, 112, 212, 312) with an insulation layer between the heating conductor (18, 118, 21 8, 318) and the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b), - a measuring device for detecting local high temperatures at the heating device (11, 111, 211, 311), the measuring device being connected to the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) and to the heating conductor (18, 118, 218, 318) and is designed to detect a temperature-dependent leakage current through the insulation layer between the heating conductor (18, 118, 218, 318) and the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) and to evaluate it as a measure of a local temperature change at the heating device (11, 111, 211, 311), wherein: - the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) consists of a material with a temperature dependence of its electrical resistance, the temperature dependency is between 0.0005/°C and 0.01/°C or between 500 ppm/K and 10,000 ppm/K in a temperature range between 0°C and 500°C, - the temperature measuring device is connected to the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) for measuring a temperature at the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) using the temperature dependence of the electrical resistance of the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b), characterized in that: - the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) is elongated, - the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) has two electrode connections (23, 23a, 23b, 123a, 123b, 223a, 223b, 323a, 323b) and is connected to the temperature measuring device by means of the latter. - a flat carrier (12, 112, 212, 312), - at least one heating conductor (18, 118, 218, 318) on the flat carrier (12, 112, 212, 312), - an electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) on the flat carrier (12, 112, 212, 312), - a layer structure on the carrier (12, 112, 212, 312) with an insulation layer between the heating conductor (18, 118, 21 8, 318) and the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b), - a measuring device for detecting local high temperatures at the heating device (11, 111, 211, 311), the measuring device being connected to the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) and to the heating conductor (18, 118, 218, 318) and is designed to detect a temperature-dependent leakage current through the insulation layer between the heating conductor (18, 118, 218, 318) and the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) and to evaluate it as a measure of a local temperature change at the heating device (11, 111, 211, 311), - the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) consists of a material with a temperature dependence of its electrical resistance, the temperature dependency is between 0.0005/°C and 0.01/°C or between 500 ppm/K and 10,000 ppm/K in a temperature range between 0°C and 500°C, - the temperature measuring device is connected to the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) for measuring a temperature at the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) using the temperature dependence of the electrical resistance of the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b), - the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) is elongated, - the electrode (22, 122a, 122b, 222a, 222b, 322a, 322b) has two electrode connections (23, 23a, 23b, 123a, 123b, 223a, 223b, 323a, 323b) and is connected to the temperature measuring device by means of the latter.