Pagkakaiba sa pagitan ng mga pagbago ng "Module:SimpleDebug/doc"

m
Minor changes
(Bagong pahina: Contains a functions to help debug the lua modules. It allows to collect and view the values of several variables and/or points in your lua pro...)
 
m (Minor changes)
Contains a functions to help [[:en:Help:Lua debugging#How debug|debug the lua modules]]. It allows to collect and view the values of several variables and/or points in your lua program, from a module (which is usual) or in several modules (which are required from the main module).
 
It is designed so that its functions are called from within the module that is to be debugged, calls that will have to be part of the code (of the module that you have designed, or that you want to improve or adapt) until you decide to delete them (when you already have determined the bug). Thus, you do not have to call any of its functions from an invoke.
* If it is ''false'' or it is ''true'' and contains nested tables, it will show a line for each item in the table and with an indent for each nested table.
* If it is ''true'' and it does not contain nested tables, it shows the table in a line.
 
|-
 
| <code>tab.allidx</code> || false ||
If it is true then also displays the numerical indexes of a table.
|<code>plaintext</code> || false ||
Deletes html format.
|-
|<code>addcount</code> || false ||
Adds an autoincremental number at the beginning of each call of a function.
|-
! colspan="3" |One point to watch
| <code>maxlines.doerror</code> || true ||
If it is true and <code>maxlines.num</code> is reached, <code>error(s)</code> is called.
|-
|<code>addcountcounter</code> || false ||
Adds an autoincremental number at the beginning of each call of a function.
|-
| colspan="3" |'''Functions'''
returns:
 
{{color|red|'''Lua Error de Lua:MòdulModule:''VostreMòdulYour module'':''LíniaLine'': little number'''}}
 
{{color|red|'''little number'''}}
{{color|red|'''big{{=}}12'''}}
 
35

edit