[[debug()]]
 

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:create:functions:debug [21.12.2014 22:18] adminen:create:functions:debug [25.08.2020 12:13] (current) – [debug()] sophia.schauer
Line 3: Line 3:
 ''void **debug**(mixed //object//)'' ''void **debug**(mixed //object//)''
  
-The function ''debug()'' conveniently shows the project manager the content of a PHP or data variable or a placeholder in debug mode. This is particularly helpful when monitoring filters and, as the case may be, as [[:en:create:filter-solving|Problem Solutions for Filters]] +The function ''debug()'' conveniently shows the project manager the content of a PHP or data variable or a placeholder in debug mode.
- +
-**Note:** The content of the respective variable is only shown if the questionnaire is started in debug mode {{:button.debug.gif?nolink|Start Questionnaire in Debug Mode}}.+
  
   * //object//   * //object//
Line 11: Line 9:
     * A PHP variable ([[:en:create:variables|Variables]])     * A PHP variable ([[:en:create:variables|Variables]])
  
 +**Tip:** For more information on usage, see [[:en:create:debugging]].
  
 +**Important:** The function ''debug()'' produces output only if the questionnaire was started in debug mode {{:button.debug.gif?nolink|Start questionnaire in debug mode}}. In the preview ({{:button.run.gif?nolink|Preview questionnaire}}) and in regular interviews ''debug()'' has no function.
 ===== Examples ===== ===== Examples =====
  
en/create/functions/debug.txt · Last modified: 25.08.2020 12:13 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki