DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:debug

Differences

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

Link to this comparison view

built_in:debug [2015/03/21 12:28] (current)
madlyr created
Line 1: Line 1:
 +=====Debug=====
 +
 +====Description====
 +Use this command to write some text if you debug your app.
 +<​code>​app.Debug( "​debug text" );</​code>​
 +====Example====
 +<code javascript>//​e.g. show the progress if you load a website ​
 +function web_OnProgess( progress )  {
 +      ​app.Debug( "​progress = "​ + progress ); 
 +}
 +</​code>​
  
built_in/debug.txt · Last modified: 2015/03/21 12:28 by madlyr