[Solved]How to find compiler variables list in compiler elf file?

Hello everyone,

If this is wrong place for this apologies!

I tried searching the site but couldn't find a suitable answer. What I would like is a list of all variables and types used in a sketch if it is possible.

The closest I found was List of Variables and memory space/usage - #3 by system - Programming Questions - Arduino Forum but that thread was old and warned me to post a new thread. I am using the new IDE Beta 1.5.8 and I have found the

\arduino-1.5.8\hardware\tools\avr\bin\avr-objdump.exe

file, however, I cannot find any elf files for my sketch? Do I need to enable elf files or something? Can somebody point me in the right direction please?

Regards,

Graham

Edit, if anybody else is curious these files in windows 7 are located in :-

C:\Users\NAME\AppData\Local\Temp\build???????????????????.tmp

Ultra user friendly name and location, my windows didn't look here when I used search...

downloaded this script long ago that can easily patched to the .tmp files.

SET HEX=""
ECHO OFF
CLS
C:
CD \
dir %temp%\*.hex /s /od /b > HexRhere.txt
ECHO.
ECHO.
SET /P HEX= <HexRhere.txt
Explorer %HEX%
Explorer \HexRhere.txt