| |||||
Technical Support Support Resources
Product Information | µVISION DEBUGGER: AUTOMATED TEST NEVER STOPSInformation in this article applies to:
QUESTIONI want to run µVision as an automated test tool and I have created a test script file (named TEST.INI) as shown below:
g, _test_end;
printf ("Done\n");
I entered the script filename (TEST.INI) in the Project — Options for Target — Debug — Simulator Initialization File text box. The script seems to work, however it appears that program execution never stops despite the fact that my program reaches the function _test_end. What can be wrong? ANSWERCheck if you have enabled the option Run to main () under Project — Options for Target — Debug. µVision executes the commands of the dialog Project — Options for Target — Debug in the following order:
Since your program has already reached the label _test_end which is most likely after main the command G, main results in an endless program execution. MORE INFORMATION
SEE ALSOLast Reviewed: Friday, January 12, 2007 | ||||
| |||||