The trace output box is used to write text. A script is not writen to display text but for data processing and treatment. However, the debug and message window is useful in debugging phase to follow the code execution and the variable evolution. The LoriotPro LUA library offers display functions that write in this window. Example : lp.Trace(« text ») ;
The debug window can be opened from the main menu view option.
The following script search in the LoriotPro directory the first router and display its IP address in the debug message window.
lp_value = 0;
if router_id~=nil then
lp.Trace("The first router in the directory tree\n");
The debug message window after the execution of the script: