<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Can&amp;#39;t set breakpoints in C code, only assembler code.</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17744/can-t-set-breakpoints-in-c-code-only-assembler-code</link><description> In some of my uVision2 projects the debugger will not allow me to set breakpoints in the C source code, only in the disassembly window. Other projects allow me to set breakpoints in either. There must be some sort of setting that I can&amp;#39;t figure out.</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Can't set breakpoints in C code, only assembler code.</title><link>https://community.arm.com/thread/96382?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2004 11:28:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:172f383c-7f90-482d-8ce8-bf8d10cc1fab</guid><dc:creator>Dave Fords</dc:creator><description>&lt;p&gt;Thank-you, that fixes it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't set breakpoints in C code, only assembler code.</title><link>https://community.arm.com/thread/86812?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2004 06:15:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ddbb4a14-5a3b-4433-a836-91b6de0f8835</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;Under listing, I do not have assembly code checked. Yet the build still generates an SRC file.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
The assembler in the listing file is not the same as the SRC output file!&lt;br /&gt;
&lt;br /&gt;
If you want &amp;#39;C&amp;#39; source-lecl debugging, you must turn off the &amp;#39;Generate Assembler Source File&amp;#39; option (SRC command-line directive).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't set breakpoints in C code, only assembler code.</title><link>https://community.arm.com/thread/42339?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2004 22:57:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:55888b56-f619-4c3b-a408-efc76e66d4ac</guid><dc:creator>Dave Fords</dc:creator><description>&lt;p&gt;Let me clarify.  I can only set breakpoints in Disasembly window, A51 source code, and the SRC file generated from the C code.&lt;br /&gt;
&lt;br /&gt;
My output settings for create executable have Debug Information checked.&lt;br /&gt;
&lt;br /&gt;
Under listing, I do not have assembly code checked.  Yet the build still generates an SRC file.&lt;br /&gt;
&lt;br /&gt;
In the projects that allow me to set breakpoints in C code, no SRC file gets generated.  Any ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>