<?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>topic Re: LPCXpresso IDE confusion about preprocessor symbol DEBUG in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-IDE-confusion-about-preprocessor-symbol-DEBUG/m-p/560658#M15955</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 Thu Apr 18 16:32:02 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Goto:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Indexer&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Change&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Use the build configuration specified in the project's indexer settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Use the active build configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Personally I would like this to be the default setting for new workspaces, but unfortunately there is currently a known issue with Eclipse in that it doesn't allow this to be done.]&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 00:51:08 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:51:08Z</dc:date>
    <item>
      <title>LPCXpresso IDE confusion about preprocessor symbol DEBUG</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-IDE-confusion-about-preprocessor-symbol-DEBUG/m-p/560657#M15954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DaveNadler on Thu Apr 18 13:34:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Arial]I'm using LPCXpresso v5.1.2 [Build 2065]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a release build, the IDE does not gray out code within a block such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/FONT]&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;#if defined(DEBUG) // diagnostic tasks...
&amp;nbsp; static void vTaskTestSpoileronServo(void *pvParameters)
&amp;nbsp; { ... } // this line is shown normally (not grayed out as it should be in release build)
#else
&amp;nbsp; static void vTaskSpoileronServo(void *pvParameters)
&amp;nbsp; { ... } // this line is grayed out (instead of shown normally as expected for release build)
#endif // defined(DEBUG)
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;[FONT=Arial]The IDE seems convinced that the symbol DEBUG is defined, which it is not in the release build (really, I checked). The release code compiles and operates as expected, as does the debug code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards, Dave&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-IDE-confusion-about-preprocessor-symbol-DEBUG/m-p/560657#M15954</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso IDE confusion about preprocessor symbol DEBUG</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-IDE-confusion-about-preprocessor-symbol-DEBUG/m-p/560658#M15955</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 Thu Apr 18 16:32:02 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Goto:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Indexer&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Change&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Use the build configuration specified in the project's indexer settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Use the active build configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Personally I would like this to be the default setting for new workspaces, but unfortunately there is currently a known issue with Eclipse in that it doesn't allow this to be done.]&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 00:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-IDE-confusion-about-preprocessor-symbol-DEBUG/m-p/560658#M15955</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso IDE confusion about preprocessor symbol DEBUG</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-IDE-confusion-about-preprocessor-symbol-DEBUG/m-p/560659#M15956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DaveNadler on Thu Apr 18 17:28:14 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;Goto:&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Indexer&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;Change&lt;BR /&gt;&lt;BR /&gt; - Use the build configuration specified in the project's indexer settings&lt;BR /&gt;&lt;BR /&gt;to:&lt;BR /&gt;&lt;BR /&gt;- Use the active build configuration&lt;BR /&gt;&lt;BR /&gt;[Personally I would like this to be the default setting for new workspaces, but unfortunately there is currently a known issue with Eclipse in that it doesn't allow this to be done.]&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;CodeRedSupport&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Arial]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the project's indexer setting instead, so I don't have to reset it when I export/import the project (if 5.2.2 ever works for me).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That does it, Thanks !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards, Dave[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-IDE-confusion-about-preprocessor-symbol-DEBUG/m-p/560659#M15956</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:08Z</dc:date>
    </item>
  </channel>
</rss>

