6 8 Debug WAMs

Visual LANSA

6.8 Debug WAMs

A Webroutine can be executed for debugging from within the Editor in the following ways:

  • In the Source tab: Right mouse click on the green arrow to the right of the webroutine statement. From the menu choose Debug and the Technology Service Provider you wish to use.
  • In the Source tab: Right mouse click on the webroutine statement. From the menu choose Webroutine: <name>, Debug and the Technology Service Provider you wish to use.
  • In the Design tab: Choose the Debug toolbar button.
  • In the Design tab: Press Ctrl+Shift+D.

Example of debugging URL:

http://localhost/CGI-BIN/lansaweb?webapp=MYWAM+webrtn=MYWR+ml=LANSA:XHTML+part=DEX+lang=ENG+DEBUG=yes,mydevenv:51234

Note that Debug uses saved files. The WAM being edited is not saved to the repository by debugging it. You must save the WAM first if you wish to debug the WAM with your most recent changes to the Web Design.

Also see

Interactive Debugging in the Web Administration Guide.

Ý 6. Debugging Applications