Support Board
Date/Time: Fri, 27 Jun 2025 04:12:55 +0000
Post From: CPU exception
[2021-09-19 14:46:41] |
ForgivingComputers.com - Posts: 1071 |
Try putting in a return statement in the code near the top, starting in the sc.SetDefaults block and test it. If no CPU exception occurs, then keep moving the return down until you get the CPU exception. That should help narrow down when it is happening. If you have experience with the Visual Studio debugger, then attach to the Sierra process before adding the study, or opening the chartbook. You will often get more information about the CPU exception, like a divide by zero or array out of bounds condition. Another thing you can try is to comment out blocks of code and then test. |