User Tools

Site Tools


uphp:functions:debug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:debug [2017/03/18 18:13]
jeff
uphp:functions:debug [2021/09/13 05:57]
Line 1: Line 1:
-======debug====== 
-<badge>WMPRO FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> 
- 
-Print to debug output 
- 
-====Description==== 
-<well size="sm"><html><span style="font-size:125%;"></html>[[debug]] 
-<html> 
-<span style="color:green;">string 
-<span style="color:blue;">$output 
-<span style="color:black;">) 
-</html></well> 
- 
-====Parameters==== 
-<html><span style="color:blue;"><b>output</b><span style="color:black;"></html>:  A string to output 
- 
-====Return Value==== 
-None 
- 
-====Example==== 
-<code php> 
-<? 
-  debug("This is a debug message"); 
-  // this will appear on the serial port if connected to a console 
-?> 
-</code> 
- 
-====See Also==== 
-[[uphp:Serial Port Programming]] - Some information on connecting and using the serial ports 
- 
-[[debugout()]] - Enable or disable debug messages 
- 
-[[error_reporting()]] - Set the debug output level 
- 
-[[log()]] - Print to the System Log 
- 
-[[print()]] - Output data to the current output stream such as a web page or terminal 
  
uphp/functions/debug.txt · Last modified: 2021/09/13 05:57 (external edit)