Doing it the hard way: mapping errors to line numbers.

Supposing I was debugging and had a Garmin log file, the original .iq archive but no ERA report.

I had thought that I could simply to a hex > decimal of the error location and get to a corresponding pc="" entry in one of the debug.xml.

Only...

I'm doing something wrong!

The error I saw was:

CALLSTACK: @PC = 0x100032fc

And if I do a hex to decimal of 100032fc I get 268448508

However, the humanised error log would have been:

Stack: [SYMBOL] at [PATH]:198 0x100032fc

And that equates to:

<entry filename="[PATH]" id="14" lineNum="198" pc="268448494" symbol="[SYMBOL]"/>

So clearly my simplistic hex > decimal conversion is wrong!

Anybody know the actual way to convert / interpret these codes?

Thanks,

G