<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDE中的主题 Re: Debugger problem - Change variable value</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531105#M2328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jindra on Sun Apr 11 13:51:59 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I was able to reproduce it again, but it happens randomly on same code. It put there some short textual pattern (something with clipboard?), which changed (or dissapear) after restart. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also it shows different value in memory and in expression view, so close this thread and I wait to new release of Xpresso and belive that it gone with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:55:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:55:14Z</dc:date>
    <item>
      <title>Debugger problem - Change variable value</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531100#M2323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jindra on Thu Mar 25 15:58:13 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have variable defined as:&amp;nbsp; volatile uint32_t tmpcnt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm in debugger, code is suspended and I want change its value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets say it now have value 5, and I want put 0 there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't found way how to, in Expressions tab, so I get address of variable and put it in Memory tab. There I see value 5, but if I try put 0 there, its value changed to 0x666E0000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What the right way?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531100#M2323</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger problem - Change variable value</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531101#M2324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Fri Mar 26 00:18:09 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to change its value using the Variable View. [The variable view should be in a tab in the bottom left of the IDE window.] If it is a global, you will need to add it to the Variable View. Then you should be able to click on the variable and enter a new value for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the variable a global or a local?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you debugging a debug or release build? If a release build, then try using a Debug build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If using a Debug build, check the linker options and if --gc-sections is being used, try deleting it from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Linker&amp;nbsp; -&amp;gt; Miscellaneous&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let us know if this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531101#M2324</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger problem - Change variable value</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531102#M2325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jindra on Fri Mar 26 00:34:16 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I'm sorry to not provide more informations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use lpc1114. The variable is local in main fungtion. Debug build but using gc-sections to have smaller elf (for faster upload).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't opened Variable view, and not even know that it exist. Because if I click right button in code on variable it offer only "Add watch expression" so I believe that "expressions" is the only window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, in variable wiev it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'm still interested why I get value 0x666E0000 in expressions. It is because something, or only random depending on surrounding conditions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531102#M2325</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger problem - Change variable value</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531103#M2326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Sat Mar 27 00:46:44 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post your code and exact details of how to produce the problem, and we will investigate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531103#M2326</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger problem - Change variable value</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531104#M2327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jindra on Sun Apr 11 07:55:00 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I tried with new code, but can't reproduce. And as I'm now in phase of tests only, I haven't backups of code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531104#M2327</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger problem - Change variable value</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531105#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jindra on Sun Apr 11 13:51:59 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I was able to reproduce it again, but it happens randomly on same code. It put there some short textual pattern (something with clipboard?), which changed (or dissapear) after restart. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also it shows different value in memory and in expression view, so close this thread and I wait to new release of Xpresso and belive that it gone with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debugger-problem-Change-variable-value/m-p/531105#M2328</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:14Z</dc:date>
    </item>
  </channel>
</rss>

