<?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>debugger pointing to wrong code lines</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/31002/debugger-pointing-to-wrong-code-lines</link><description> 
Hi, 

 
I need some help figuring out some bizarre behavior with the
uVision debug environment. If I set a breakpoint in the following
code, the debugger stops at the line labeled --BP-- for any and all
values of the variable PWMticks. If I let the</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: debugger pointing to wrong code lines</title><link>https://community.arm.com/thread/107383?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2013 11:53:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2c96ba64-4944-4ba3-abcf-e28e88c58c29</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;p&gt;
No, that didn&amp;#39;t &amp;quot;fix&amp;quot; anything. It just bent reality to match your
expectations.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugger pointing to wrong code lines</title><link>https://community.arm.com/thread/62376?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2013 07:46:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:abcb43e7-592c-434f-9604-105a5f17a26a</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
If you expect linear flow, turn off optimization&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>