First of all, you should load the right symbols of program,otherwise you cannot figure out in which function the exception occurs.For example : if you load the right symbol in windbg,the windbg will tell you the exception occurs in the function FOO()+0x12,otherwise it will tell that you should check the position MAIN()+0x1234 which also point to FOO()+0x12 but have less meaning to human being.
so the first step to take is loading the right debug symbols.