Question: Simulator - code is highlighted in the disassembly window, but not in the file window. Therefore he cannot single step through the program. What is causing this?

Answer: The file window is highlighted when the line of assembly code pointed to by the program counter corresponds to the first line of code in the source file. Since a function or line of C code can correspond to many lines of assembly it is common for the source file to not be highlighted. Also on startup the first line of code is the C environment initialization routine NOT C code. Execute the command 'GO main' to run up to the first line of code. Stepping through C code is accomplished by the command 'CSTEP'


Device: TMS320C5x
Category: TI Tools
Detail: Debugger Tools
Detail2: Simulator
Title: Cannot single step through the program
Source: Case from TMS320 Hotline
Date: 8/1/97
GenId: 0005852

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!