How to debug unhandled win32 exception in WinJS Win8 store app

I've added Microsoft Ad SDK to my WinJS app and it works if I quickly navigate from my default.html page.

<script src="/MSAdvertisingJS/ads/ad.js"></script>

      

If I comment out this line, it doesn't work. If I go to the default.html page and wait 10 seconds (maybe less) then it is NOT a crash. It only crashes if I land on a page and immediately navigate to another page in the app. I set the landing page to be a blank html page and it still crashes.

Any ideas how I can debug further to find out what is causing the problem?

enter image description here

Debugging gives this call stack.

>   kernel32.dll!00007ffc2c9c83a6() Unknown
    combase.dll!00007ffc2e6a65b0()  Unknown
    twinapi.appcore.dll!00007ffc1b5847ac()  Unknown
    twinapi.appcore.dll!00007ffc1b58480f()  Unknown
    combase.dll!00007ffc2e6a61c2()  Unknown
    mscorlib.ni.dll!00007ffc0a8a2b2d()  Unknown

      

I have further narrowed down the issue related to the link I am linking to.

    <a href="home2.html">
        <h1 class="mid">Start</h1>
    </a>

    <a href="home2.html">
        <img src="images/d20.png" alt="d20 image" />
    </a>

      

The first connection falls, the second does not. I changed H1 tag to range and it no longer resets early nav. After a few minutes it will start crashing again after adding the Div.

thank

+2


source to share





All Articles