EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

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


Author Message
Written on: 29. 12. 2011 [08:29]
yozhik
Алексей Николаев
Topic creator
registered since: 29.11.2010
Posts: 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
Written on: 29. 12. 2011 [08:52]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
Исправлено.

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



5506