Keil Logo

µVISION DEBUGGER: SOURCE LEVEL DEBUGGING WITH GNU ARM


Information in this article applies to:

  • GNU ARM Compiler
  • µVision Version 3.00

QUESTION

I have a complex project with several source folders that I build with the GNU ARM compiler. In this situation source-level debugging fails. How can I solve this issue?

ANSWER

The GNU ARM Compiler does not store path information in the ELF/DWARF file. Therefore, you must manually specify the path names for your source files using the µVision debugger SET SRC command. For example:

set src=C:\Projects\MyFolder
set src="C:\\Controller Projects\\PRJ A\\src"

If you have problems with variable display you may need to update the SARM.DLL. Download the attachment and copy the file to the folder Keil\ARM\BIN.

MORE INFORMATION

SEE ALSO

ATTACHED FILES

Request the files attached to this knowledgebase article.

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Thursday, August 9, 2018


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.