Hello, I am not entirely sure about your query.
When an interrupt occurs that is associated with a hardware event, for example a timer interrupt, the ISR code that is executed is entirely independent of any other code. This code may still execute even if the code within the main loop is not executing correctly. This is why ISR code must never clear the watchdog timer.
Of course, if the ISR code itself should enter an endless loop, no other code will be able to execute, and the watchdog should timeout assuming it is enabled.
Regards,
Mac