Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 03:48:50 +0000



Post From: SC 1316 Errors While Trading

[2015-11-11 19:15:09]
Sierra Chart Engineering - Posts: 104368

I really wanted to use a block like catch(exception& e) and then use e.what() so I could see what exactly the exception is. But I was unable to get this to work in SC.

This does not work with hardware level exceptions which you are causing.

And not all exceptions/faults/programming errors can be caught.


Warning: Caught an exception during the processing of a timer event. | 2015-11-11 06:19:05 *

This is caused by the problem in your code.


This code doesn't throw an exception.
Stack corruptions are quite serious and will not necessarily cause an exception but could later on.

In general when your code is doing something faulty like accessing invalid memory or causing a stack corruption, exception handling is never a solution and will not necessarily catch the problem.

Have a look at using step-by-step debugging:
https://www.sierrachart.com/index.php?page=doc/doc_DebuggingDLLs.html
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-11-11 19:16:10