Hi,
I need to test a project variable in javascript and set the Microsoft C# Compiler Property to DebugOff, DebugFull etc depending on the variable value.
I have tried the following:
Action.Debug = TDotNetDebugOptions.DebugOff;
and
Action.Debug = "DebugOff";
but neither works.
Can anyone tell me the correct syntax for this?
Regards
AndyB
Hi Andy,
Looks like the debug options constants aren’t being registered correctly, we’ll get that fixed for the next build. In the mean time you can set the property using the constant value:
0 = DebugOff
1 = DebugFull
2 = DebugPDBOnly
So, for example, to set debugging off you would write:
Action.Debug = 0
Regards,
Paul.