Hello,
Can someone help please; I am trying to write a GEL file to track the state of a local "x" variable in the main program (code shown below)
I am using CCS V5 on TMS320F28335 MCU
int main()
{
int x=0;
x++;
x=19;
return x;
}
I am trying to use GEL file to step through the code to show the changes of the local variable “x” state. This is part of an automated approach for code test.
I tried this gel file below with no luck.
hotmenu SUTP_MON_APP_TEST()
{
// Restart the program
GEL_Restart();
// Reset the break points
GEL_BreakPtReset();
GEL_HWBreakPtReset();
GEL_TextOut("\nBEGIN TEST\n");
GEL_Run();
GEL_Go(main);
GEL_StepOver();
GEL_TextOut(" x = %d\n",,,,, x);
GEL_StepOver();
GEL_TextOut(" x = %d\n",,,,, x);
// Output the text in GEL output window
GEL_TextOut("\nEnd TEST\n");
}