Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 22:16:30 +0000



Post From: Custom Study crashes only if loaded on startup

[2015-11-04 03:37:57]
jwick - Posts: 142
I'm experiencing an unusual bug in a custom study of mine. If I load it onto a fresh chart, then open up settings, and keep changing different settings while hitting apply each time, no worries.

But, if I were to save this chart as a chartbook, exit Sierra Charts, and open that chartbook, the initial load is perfectly fine with the study plotting as expected. However, now if I open up the study settings, and start changing its settings and hitting apply, SC crashes / I get a CPU exception.

Not sure if you've encountered this before and would know why? I am using sc.GetPersistentPointer() and sc.setPersistentPointer() and am not using anything afaik that should cause persistence of data (other than study settings) between program loads.

Any advice / pointers appreciated!