//Author: Erik A Garland-Success Over Stress- http://www.youtube.com/@SuccessOverStress -Email: SuccessFromStress@gmail.com. Discord: https://discord.gg/3hdkfE8fyU
//Date: 11/23/25
//CORRECTIONS CORNER #1 ARRAY SIZING
//input: array_size(11);
Variable: varied_size(10);
constant: array_size(15);
Array: AHighs[](1000000); //0, 1,2,3,4,......
Array: ALows[array_size](1000);
//once print ( array_getmaxindex(ahighs));
{once
begin
clearprintlog();
//print ( ahighs[0]);
array_setmaxindex(ahighs, 100);
print ( "max index: ", array_getmaxindex(ahighs));
print ( "101 Index: " , ahighs[101]);
end; }
method void xprintarray()
var: int idxa;
begin
{WHILE IDXA<=10000
BEGIN
TRY VALUE99=aLOWS[IDXA];
catch ( ELSYSTEM.exception EX) PRINT ("MAX INDEX OF : ", IDXA-1); PRINT("oUT OF BOUNDS");BREAK;
{fINALLY
PRINT (ALOWS[IDXA]);IDXA+=1;}
eND;
PRINT (ALOWS[IDXA]);IDXA+=1;
END; }
for idxa=0 to array_size
begin
print ( idxa, ": ", Alows[idxa]);
end;
end;
once
begin
clearprintlog();
//print( alows[11]);
xprintarray();
end;
Today’s session dives into the TradeStation Development Environment (TDE) debugger—how to start it, stop it, step through your code, watch variables change in real time, and use breakpoints to understand exactly how your EasyLanguage program flows. Using an NVDA chart as the backdrop, we walk through stepping into functions (F11), stepping over them (F8), toggling breakpoints (F9), and understanding what happens when you enter methods, hit reserved words, or move across bars during the loading process...