Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tracing can be a useful tool to use when trying to track down problems in your code execution.

To add a tracing statement, add some text like this to your web application:

    Evtroutine Handling(#Trace.Click)
 
#sys_appln.TraceMessageText( ("Last trace was &1").Substitute( #xDemoNumber.Asstring ) )
 
#xDemoNumber += 1

...


#sys_appln.TraceMessageText( ("Trace value now").Substitute( #xDemoNumber.Asstring ) )
 
Endroutine

To view the trace statements, access Console in the Developer Tools associated with your browser.Image Removed

Image Added

For more information on Tracing Applications refer to to Tracing Applications in the Visual LANSA User Guide.