Movie Summary

RAMP-NL

Movie Summary


For movie Debug and Diagnostics - 2.5 minutes.

Switch on Tracing

Tracing is the first thing you need to do when debugging. Inspect the trace and look for screens that have not been recognized or that have a blank name.

 

Add Alert statements

An easy way to debug scripts is to add Alert() statements to display values in a pop-up window at run-time.

 

Add Alert_Message functions

Similarly, you can use the ALERT_MESSAGE Function to display values in pop-up windows.

 

Add Trace functions

If you do not want to interrupt application execution, but instead record values in the trace, use the TRACE Function in your script.

 

Debug your filters

If you want to debug your filters, you can use the avRecordTrace method in your filter program:

Invoke avFrameworkManager.avRecordTrace Component(#Com_Owner) Event('Search Button click handler started')

 

For more information see Basic Tracing Service.

 

Click on the Show Current newlook Form button

If the Framework ends on a screen it does not expect to be on, and you get a blank screen with an error message Unable to display form.

 

Use the Probe Screen button in Design mode

To find out what is know about the current screen.