Today I found a book said that we can set some vector process function to do user settings, and then I began to use some vectors, and I wrote a oscillator vector process function and watchdog vector process function, but when a watchdog reset happens, the mcu just reset and didn't go into the function, and when my oscillator was disturbed by outside electromagnetic ,I thought that the mcu may reset ,and the source is oscillator monitor interrupt, but it also reset,and didn't go into my process.
I wonder if the process is valid ,and I also want to write a vector of all of reset to debug our program to find out the source of reset, Does this practicable ?