# Debug

This action shows a string in the trace window. It is only for the simulator.

Action available for the following operating systems:

![](/files/-MI-vZULDckn3Es5GrxW)

### Parameters

* **Type** \<unquoted string>
  * **String Expression** - Shows the string specified in the **Expression** parameter.
  * **Numeric Expression** - Shows the number specified in the **Expression** parameter.
  * **Conditional Expression** - Shows the condition value specified in the **Expression** parameter.
  * **Global Variables** - Shows the content of the global variables.
  * **Local Variables** - Shows the content of the local variables from the current form.
  * **Temporary Variables** - Shows the content of the temporary variables from the current event.
* **Expression** \<string> - The expression to show when the **Type** parameter is **String Expression**, **Numeric Expression** or **Conditional Expression**.
* **Display** \<unquoted string> - When the **Type** parameter is set to show variables content, it specifies if it show show the content of all the variables or only of those with a value.

{% hint style="info" %}
This action will be ignored when you deploy your projects. It will only be used by the simulator when your are testing your projects with the Designer.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-code-flow/debug.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
