|ARM Technical Support Knowledge Articles|
Applies to: General Topics
Information in this article applies to:
I have created a library and I want to be able to do source-level debugging in the library code. Is this possible with the Keil µVision Debugger?
Yes. This is possible, however, the library source code must be available.
When building the library, you must enable Debug information under Project Options Output. When debugging a program that is linked with the library, you may open the library source files and set breakpoints or perform other debug operations.
It is also possible to tell the uVision Debugger the path to the source files using the SET SRC directive. To add the folder C:\PRJ\CFILES\ to the search path, enter the following in the uVision Debugger command window:
SET SRC = C:\PRJ\CFILES
Article last edited on: 2010-09-14 10:21:47
Did you find this article helpful? Yes No
How can we improve this article?