Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:create:functions:debug [21.12.2014 22:18] – admin | en:create:functions:debug [25.08.2020 12:13] (current) – [debug()] sophia.schauer |
---|
''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// |
* 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 ===== |
| |