Is There Any Way To Inspect %OPTION At Debug Time?
We set several system options via %OPTION (https://www.synergex.com/docs/versions/v111/index.htm#lrm/lrmChap9OPTION.htm) however it is unclear what the best way to investigate this is during a debug session. While we realize we could add a line in our code to inspect it, this seems heavy handed.
Is there a way to inspect the current system options in the debugger (ala C#'s "Quick Watch").
https://www.synergex.com/docs/versions/v111/index.htm#tools/toolsChap2SHOW.htm
In the .NET debugger, enter the below, in the Immediate window replacing OPTION with the system option to be queried –
Synergex.SynergyDE.SysRoutines.f_option(Synergex.SynergyDE.IntegerDesc.CreateLiteral(OPTION), Synergex.SynergyDE.VariantDesc.notPassedInteger);
If the option is set 1, will be returned and if the option is not set 0 will be returned.