# ENDTRACE End Trace Output

> Source: https://manual.pvxplus.com/directives/endtrace

## Formats

|  |  |  |
| --- | --- | --- |
| 1\. | *End Trace*: | **ENDTRACE** |
| 2\. | *End Tracing of Windows Host Program:* | **ENDTRACE SERVER** |

***Where***

|  |  |
| --- | --- |
| **SERVER** | ***For Internal Use Only*** |

## Description

Use the **ENDTRACE** directive to stop the tracing of program statements (activated by a previous **SETTRACE** directive).

## See Also

**[SETTRACE Enable Program Tracing](https://manual.pvxplus.com/directives/settrace)**

## Example

```
0010 settrace
0020 defctl -1011=3 ! Return CTL 3 on up arrow
0030 input "Enter name:",N$
0040 on ctl goto 0050,0030,0030,0060,0060
0050 input "Enter Addr:",A$
0060 endtrace ; print "DONE"; end

->run
0010 settrace
0020 defctl -1011=3 ! Return CTL 3 on up arrow
0030 input "Enter name:",N$ Enter name: ! User hit up arrow
0040 on ctl goto 0050,0030,0030,0060,0060
0060 endtrace ; print "DONE"; end DONE
```
