Forum Discussion

maximojo's avatar
maximojo
Frequent Contributor
14 years ago

Recovering from IE9 crashes

Hi all,



I was just wondering if there is an elegant way to recover from a browser crash in IE9? Or any of the browsers for that matter.



I haven't been able to find an obvious way to do it. 



I take it it would use some sort of exception handling but I don't know.



Any help appreciated.



Cheers

Mark



ps - I'm using jscript. m
  • maximojo's avatar
    maximojo
    Frequent Contributor
    Cool thanks for that.  I will check it out.



    Though if anyone could guide me further I'd appreciate it. There seem to be a few ways to handle this and unfortunately I can't MAKE the crash happen to iterate quickly and find the right solution.



    There's also using the "Project Properties - Freeze Diagnostics Options" and having TC shut down the tested app (in this case IE9). Maybe then I can use the OnWebQuit even in General Events through the Event Control Editor to restart the browser or do something else with similar effect.



    I see some information about exception handling but then it seems the app must be compiled with debug info and obviously I dont have a debug version of IE9.

  • Hi Mark,





    For example, you can test the approaches using a simple application that crashes. Here's an example of such an application:





    #include <iostream>





    int main()

    {

    int * a = NULL;

    * a = 0;

    }