1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    178
    Vote Rating
    2
    TampaBay55 is on a distinguished road

      0  

    Default Issue with IE7 How to debug?

    Issue with IE7 How to debug?


    Greetings:

    I have an application that works in IE9 / Safari / Chrome / Firefox. It will not work in IE7 or IE9- Compatibility View and the error that is thrown is:

    HTML Code:
    Unable to get value of the property 'isField': object is null or undefined 
    ext-all.js, line 21 character 43078


    I am not really sure how to debug this issue. Any suggestions?

  2. #2
    Ext JS Premium Member westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    909
    Vote Rating
    41
    westy is a jewel in the rough westy is a jewel in the rough westy is a jewel in the rough

      0  

    Default


    You can try IE9 in IE7 mode (press F12), it sometimes exhibits the same behaviour...

    Edit: Oh, you've tried that. Erm... do you get the same issue with ext-all-debug or ext-all-dev?
    Product Architect
    Altus Ltd.

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,596
    Vote Rating
    324
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    As westy says, ext-all-dev with IE 9 Compatibility Mode is the way to go to debug it.

    My guess would be that you have a stray comma, possibly in a fields array. Any half-decent IDE should be picking up that kind of mistake though.

  4. #4
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Besides what guys suggested you you can debug in IE with Visual Studio. Don't remember the exactly steps, but following link may help you to get starting: http://www.codeproject.com/Articles/...vaScript-in-IE

  5. #5
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,596
    Vote Rating
    324
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Good point, I'd forgotten about that. I used to use this all the time before IE8 was released. It isn't just Visual Studio either, some other applications (e.g. some versions of Office) came bundled with a debugger. The article you linked seems to tally with my recollection of what was involved.

  6. #6
    Sencha Premium Member jordandev's Avatar
    Join Date
    Feb 2011
    Location
    BC, Canada
    Posts
    41
    Vote Rating
    4
    jordandev is on a distinguished road

      1  

    Default


    Use a VM with IE7 on it. Either make your own or Microsoft provides an image for these here: http://www.microsoft.com/en-us/downl....aspx?id=11575

    Then with IE7 you can use various different tools to debug javascript. The best is to attach a debugger with Visual Studio but if you don't have that there are other things like Microsoft Script Debugger, Firebug Lite, DebugBar, etc.