<?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 No Variables in Variables View in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-Variables-in-Variables-View/m-p/527413#M448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by babaluis on Fri Jan 27 09:31:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running a "makefile" project that I imported into LPCXpresso.&amp;nbsp; I do not have the --gc-sections options set anywhere that I can see.&amp;nbsp; I would like to get display of the local variables when I enter a function and hit a breakpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further, I haven't found any discussion of which options to set on the command line for gcc or ln when I'm building code for debugging using LPCXpresso and Red Probe.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I have -g -O0 set on the compile line.&amp;nbsp; My link command is creating a ".elf" file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone please help me with this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:52:36 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:52:36Z</dc:date>
    <item>
      <title>No Variables in Variables View</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-Variables-in-Variables-View/m-p/527413#M448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by babaluis on Fri Jan 27 09:31:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running a "makefile" project that I imported into LPCXpresso.&amp;nbsp; I do not have the --gc-sections options set anywhere that I can see.&amp;nbsp; I would like to get display of the local variables when I enter a function and hit a breakpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further, I haven't found any discussion of which options to set on the command line for gcc or ln when I'm building code for debugging using LPCXpresso and Red Probe.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I have -g -O0 set on the compile line.&amp;nbsp; My link command is creating a ".elf" file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone please help me with this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-Variables-in-Variables-View/m-p/527413#M448</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: No Variables in Variables View</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-Variables-in-Variables-View/m-p/527414#M449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by babaluis on Fri Jan 27 13:21:28 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, problem solved.&amp;nbsp; Variables display now, but don't know what I changed.&amp;nbsp; Eclipse is a configuration nightmare.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-Variables-in-Variables-View/m-p/527414#M449</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: No Variables in Variables View</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-Variables-in-Variables-View/m-p/527415#M450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Sat Jan 28 00:20:13 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: babaluis&lt;/STRONG&gt;&lt;BR /&gt;Eclipse is a configuration nightmare.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yup, I really like Visual Studio in this case. I have been developing a kernel mode device driver for the past few weeks and every time my system BSODs on me Visual Studio reconfigures in what seems to be a random layout :eek: I'll Just BSOD until I've got my preferred layout back and hope the driver works by then &lt;SPAN class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;&lt;LI-EMOJI id="lia_grinning-face-with-smiling-eyes" title=":grinning_face_with_smiling_eyes:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPCXpresso tools provide a complete output of all the build commands (like make does) in the console window, so if you let LPCXpresso automagically configure your project(s) you'll get something like given below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This might give you some hints on where to look.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having --gc-sections or not should not make a difference - I've used both in my projects without any influence on showing local vars during debug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,[INDENT]Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
make all 
Building file: ../src/FreeRTOSHooks.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC17xx -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\CMSISv2p00_LPC17xx\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\FreeRTOS\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\Drivers\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\lib_small_printf\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/FreeRTOSHooks.d" -MT"src/FreeRTOSHooks.d" -o"src/FreeRTOSHooks.o" "../src/FreeRTOSHooks.c"
Finished building: ../src/FreeRTOSHooks.c
 
Building file: ../src/cr_startup_lpc17.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC17xx -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\CMSISv2p00_LPC17xx\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\FreeRTOS\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\Drivers\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\lib_small_printf\inc" -O0 -Os -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/cr_startup_lpc17.d" -MT"src/cr_startup_lpc17.d" -o"src/cr_startup_lpc17.o" "../src/cr_startup_lpc17.c"
Finished building: ../src/cr_startup_lpc17.c
 
Building file: ../src/main.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC17xx -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\CMSISv2p00_LPC17xx\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\FreeRTOS\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\Drivers\inc" -I"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\lib_small_printf\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/main.d" -MT"src/main.d" -o"src/main.o" "../src/main.c"
Finished building: ../src/main.c
 
Building target: PlatformTest.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\CMSISv2p00_LPC17xx\Debug" -L"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\lib_small_printf\Debug" -L"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\Drivers\Debug" -L"C:\Users\Rob\Documents\LPCXpresso-workspaces\datalogger\FreeRTOS\Debug" -Xlinker -Map="PlatformTest.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "PlatformTest_Debug.ld" -o"PlatformTest.axf"&amp;nbsp; ./src/FreeRTOSHooks.o ./src/cr_startup_lpc17.o ./src/main.o&amp;nbsp;&amp;nbsp; -lCMSISv2p00_LPC17xx -llib_small_printf -lDrivers -lFreeRTOS
Finished building target: PlatformTest.axf
 
make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size "PlatformTest.axf"; # arm-none-eabi-objcopy -O binary "PlatformTest.axf" "PlatformTest.bin" ; checksum -p LPC1754 -d "PlatformTest.bin";
&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp;&amp;nbsp; filename
&amp;nbsp; 18516&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17216&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35764&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8bb4&amp;nbsp;&amp;nbsp;&amp;nbsp; PlatformTest.axf

&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-Variables-in-Variables-View/m-p/527415#M450</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:52:38Z</dc:date>
    </item>
  </channel>
</rss>

