Hi!
Actually, everything you need is in mentioned project. It contains both elf-file and Ozone project file. No need in flashing elf/hex to evaluation board nor even eval board itself. Just open "StructUnionBitfield.jdebug", right click "enumVal1" (line 69, " _Enumerator = enumVal1;"), then click on Show Definition or Show Declaration. Only message "Show.Definition ("enumVal1"): No source code definition information." will appear, whereas an expected outcome would be cursor jump to line 21 ( enumVal1 = 1,) where actual enum value locates:
2. Same with structure field: right click exactly on "Byte" (line 75, " _Structure.Byte = 0x42;"), then click on Show Definition or Show Declaration. Same message. Expected jump to line 43.
3. Local variable: "i" (line 81, " for (i = 0; i < 100; i++) {"). Everything is the same. Expected jump to line 60:
Same behavior with ArmCC compiled elf (debug info included) and same with GNU Arm compiler (-Og -g3 -gdwarf-4). You can flash it to a board and run debug session or not, but nothing changes.
Is that how it was intended? Or I did something wrong?
Regards,
scare