Debug and Diagnostics

RAMP-TS

Debug and Diagnostics

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 5250 Form and Turn off Busy Statebutton

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.