Is there a way to determine the line of code or PC address that caused a call to the HAL_WWDG_EarlyWakeupCallback?
Perhaps print the previous stack entry address?
If running a debugger, usually one of the debug window is the call stack, which should have the information looked after.
I forgot to mention in code rather than the debugger, ie returning the addresses/values in the stack
Take a look at the many articles on how to do a HardFault handler - as these show things like how to access the Stack Frame ...
It should be implemented as the real ISR (i.e.WWDG_IRQHandler()), not HAL_WWDG_IRQHandler() and of course not the callback.
This is not solvable in C or any higher level language, but trivial when coding the ISR in assembler (or at least a stub, which would then call C code with the rest of ISR).
Retrieving data ...