УкраїнськаEnglishmRussian
Вход/Новый
В теме нет новых постов

[BugFixed] Краш при попытке выделить из строки элементы


Автор Сообщение
Сообщение создано: 29. 12. 2011 [08:29]
yozhik
Алексей Николаев
Создатель темы
Зарегистрирован(а) с: 29.11.2010
Сообщения: 127
Вылетает при попытке выполнить, к примеру, команду
JAVASCRIPT
".".slice(-3);


Лог:
1|/053G01A/sub_UI/mod_QTCfg/ | root| Нажат '/053G01A/sub_DAQ/mod_JavaLikeCalc/lib_terminal/fnc_test/%2fexec%2fcalc'!
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
7|/053G01A/ | OpenSCADA прервана!
Programm result: 134
Сообщение создано: 29. 12. 2011 [08:52]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3742
Исправлено.

Learn, learn and learn better than work, work and work.



4503