Login Page - Create Account

Support Board


Date/Time: Fri, 23 May 2025 21:45:54 +0000



Post From: Visual Studio custom studies development

[2025-05-23 10:44:23]
User431178 - Posts: 687
I have made quick tests, there is no difference with or without sc.RemoveACSChartShortcutMenuItem call when sc.LastCallToFunction is true – in both cases custom menu items disappear after build.

Are you also resetting the persistent variables used to store the menu item IDs?

For development I use Microsoft Visual Studio debugger. In Auto/Locals/Watch window I can display content of all variables and C++ arrays (syntax “MyArray[10]”, “MyArray,20”, “My Array+10,100”,…). But this syntax does now work for Sierra Chart built in subgraphs and arrays (SCSubgraphRef, SCFloatArrayRef,…). My question is, how to directly display values at index of these arrays in VS debugger (without creating special variables just for debugging purpose e.g. float MyStop = Stop[sc.Index])?

Look into natvis, you can use it to provide the debugger with information about custom classes etc.