Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 13:13:53 +0000



CPU exception hook

View Count: 895

[2017-09-08 14:24:59]
jizzary - Posts: 177
Hi

I would like present an idea which will assist study developer's capability to manage exceptions
and fix errors.

If you provide a hook which will be set to a study developer's testing function, and then Sierra's exception handler will call it in case an exception will take place,
then teh study developer will have the opportunity to monitor the study's internals at exeception time.

Yoou just need to define the function prototype and define if such function may have certain limitations.

Please advise if applicable.



Thanks
[2017-09-08 19:26:28]
Sierra Chart Engineering - Posts: 104368
Sierra Chart does not have an exception handler in the way that you are thinking. Such a concept makes utterly no sense to us whatsoever. The concept of the exception is stupid to begin with.


You can catch exceptions by using the try and catch language functionality:
http://en.cppreference.com/w/cpp/language/try_catch
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: 2017-09-08 19:28:37

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account