Closed deyspandan closed 4 years ago
For some reason the program couldn't parse the module name of the symbol acknowledge
. You could add a simple empty string check to make the exception go away, for example:
List<Symbol> syms = mods.SelectMany(m => _syms.Symbols.Where(s =>
{
if (m.ModuleName == "") return false; // NEW
But as to why it couldn't find the module name - we have to look into the input files, most likely the regular expression for parsing the module name requires some update or the name is not available in the files. If you attach the files (and exe's if you are using NM/ReadELF) I can take a look.
Tried adding this line, but it is not helping
if (m.ModuleName == "") return false; // NEW
My platform is Windows 10 v1903 I am working on a PIC32MX5XX/6XX/7XX MCU with compiler XC32 v1.40
I have added all the files in the zip -> MapAnalysis.zip
Thanks for the files, I'm not able to run the *.exe
, I think I might need some accompanying DLLs or so. Could you zip the entire folder where the ,exe's are stored? Or send me a link to the version of the PIC32 compiler you are using, I can install it locally and check.
EDIT - sorry I just noticed the v1.40 - I will install it and let you know over the weekend
Here you go in case you need the installer
I'm not able to reproduce the exception. I can see the files as expected. But I notice that there is a difference between the sizes shown in your screenshot with what I have. Did you send me the wrong .elf file/project?
xc32-readelf.exe
instead of xc32-elfedit.exe
Also you should use the program xc32-readelf.exe instead of xc32-elfedit.exe
This was the issue (facepalm)
Thanks for pointing out you owe some beer, let me how to send you one!
Well you could use PayPal
Sorry I am a noob programmer (specially C#)
When I click on a file on the left it does not populate the list on the right
the problem seems to arise because
any idea why this is happening?