The debugger is accessed using the Debug menu from TradeStation Development Environment (TDE)
.
The following describes the menu choices:
Windows
- Opens the Autos, Bar Info / Plots, and Watch windows. Click on the menu choice to toggle its tab on or off.
Start Debugging - Starts the debugger.
Continue Debugging - When paused, restarts the debugger.
Stop Debugging - Stops the debugger.
Step Into - When paused, moves debugging into the highlighted method or function.
Step Over - When paused, moves the debugger to the next logical line of code.
Toggle Breakpoint - Sets a breakpoint or removes a previously set breakpoint.
To start debugging a verified EasyLanguage program, select Start Debugging in the Debug drop-down menu or press the <F5> function key. Once started, this item in the menu is replaced with Continue Debugging.
Set a breakpoint where you want the debugger to pause execution of your program. Breakpoints are identified by a red dot to the left of a line of program code. You may set multiple breakpoints.
Examine the variable contents in the Autos window. The line of your program that is analyzed in the Auto window is highlighted in light-blue.
If you are at a line that calls a function or method, you may "step into" it by pressing <F11> or selecting Step Into in the Debug drop-down menu. You may also "step over" the function call by pressing <F8> or selecting Step Over in the Debug drop-down menu. Use Step Over to move through the code one line at a time.