ActiveReports 8
EnableScriptDebugging Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : EnableScriptDebugging Property

Glossary Item Box

Allows to catch script exceptions in the debugger. The default value is False.


Visual Basic (Declaration) 
Public Property EnableScriptDebugging As System.Boolean
public System.bool EnableScriptDebugging {get; set;}


The EnableScriptDebugging property should be set to True before the script code compilation, which is similar to setting it before calling the Run method in ActiveReports.

If EnableScriptDebugging is set to True, then the compiled code is stored to a .dll file in the temporary folder.

Note: Visual Studio does not support script debugging at design time preview of a report.


C#Copy Code
public void SectionReport_ReportStart()
    // the following line of script code attaches the debugger to the script
Visual BasicCopy Code
Public Sub SectionReport_ReportStart()
   'the following line of script code attaches the debugger to the script
End Sub


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also