<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Local variables didn&amp;#39;t change</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36962/local-variables-didn-t-change</link><description>Hi all. 
 I wondered why the variables( trig and echo) didn&amp;#39;t change the value when I debugged. 
 Help me.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Jul 2018 06:24:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36962/local-variables-didn-t-change" /><item><title>RE: Local variables didn't change</title><link>https://devzone.nordicsemi.com/thread/141808?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 06:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e591000a-398e-4136-b081-939db1b63881</guid><dc:creator>Nor_Kim</dc:creator><description>&lt;p&gt;Thank you !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Local variables didn't change</title><link>https://devzone.nordicsemi.com/thread/141804?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 05:29:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d99dbe-1e2b-42c9-8cb5-36942ae894bb</guid><dc:creator>Eugene Yu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You might have release setting for your project.&lt;/p&gt;
&lt;p&gt;The release mode&amp;nbsp;has level 3 for optimization and it can be changed local variable by compiler.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8233.Untitled.png" /&gt;&lt;/p&gt;
&lt;p&gt;Change the project to debug mode and try it again&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>