> For the complete documentation index, see [llms.txt](https://guide.traderevolution.com/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.traderevolution.com/project/evocode/editing-panel/editing-types-scripts-setup.md).

# Editing types/Scripts setup

### **Editing types**&#x20;

To select Editing types click on the<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-Lgg5bfYSUWrQ-W8I2L0%2F-Lgg61Mn4vUhHOgxwvvo%2F1.png?alt=media&amp;token=a1f64eb8-b1b4-4b31-b570-ba2353da198e" alt="" data-size="original">button on the main menu of EvoCode. There are two types available:

#### Release mode

This mode of compilation is used as Product ready mode. If the source code is free from errors and ready for applying user can select this mode.

#### Debug mode

This mode of compilation is used for debugging source code. It is very useful for finding mistakes before script usage. Users can debug C# code. The mode can be running from the main panel&#x20;button<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-Lgg5bfYSUWrQ-W8I2L0%2F-Lgg7qA0WzR0qKfxCkii%2F2.png?alt=media&amp;token=5036a6ac-de74-457f-98c5-39c6f71ce483" alt="" data-size="original">.

Three other buttons are available for debug mode:&#x20;

* Step info<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-Lgg5bfYSUWrQ-W8I2L0%2F-Lgg82QCfoqdn3wJWXVU%2F3.png?alt=media&amp;token=9331dbd6-d078-4d51-b9e8-c859494137ca" alt="" data-size="original">  – allows going through all code lines independently of breakpoints;&#x20;
* Step over<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-LggBB2xvLg8MKmiGbI7%2F-LggBE8VtroLfVd7Jis4%2F4%20-%20Copy.png?alt=media&amp;token=9886956d-8c54-47b8-8f06-7ee0768417dc" alt="" data-size="original">– allows going over some program steps;&#x20;
* Step out<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-Lgg5bfYSUWrQ-W8I2L0%2F-Lgg8ZhECLUC2srqXy2h%2F5.png?alt=media&amp;token=b6241e43-709e-45e8-b172-16f5990729ac" alt="" data-size="original">  – script will be running until the breakpoint is reached.

To begin debugging source code, users should first set breakpoints. A breakpoint can be set by clicking between the code line numbers and the edge of the source code editor window, or by clicking on the<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-Lgg5bfYSUWrQ-W8I2L0%2F-Lgg8pAlMYgcPcoL3F9H%2F7.png?alt=media&amp;token=3eaa4030-c2d3-43ec-892e-52bbd6b98aaa" alt="" data-size="original">button. After placing a breakpoint it will be visible in the margin as a red circle. A user can remove all breakpoints from the source code by clicking on the<img src="https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-Lgg5bfYSUWrQ-W8I2L0%2F-Lgg934GVx32hi7u9Nlq%2F8.png?alt=media&amp;token=4c5c86f8-a6f4-461c-96ee-4a076eed6064" alt="" data-size="original">button.

### **Scripts** **setup**

![](https://1243456536-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMCqxhh2XAdWPUjcvxR%2F-Lgg5bfYSUWrQ-W8I2L0%2F-Lgg9Mi8u5RZA3kljvx4%2F6.png?alt=media\&token=b54de195-5fcf-4cbb-b2f7-ed3ebaf9223b)

The Scripts setup window shows information about selected module. This information is specified during the creation of any algorithm.

* Main symbol – evokes the lookup for selection of the main symbol for backtesting;
* Aggregation – allows to select the type of aggregation (time) of historical data;
* Range – allows to adjust what range of historical data will be used for backtesting.
