为什么Cordova Windows 8应用程序导致wwahost.exe发生未处理的win32异常?

时间:2015-05-26 16:52:13

标签: windows cordova windows-8.1

我们正在通过VS 2013 for Windows 8.1在Cordova中构建应用程序。当用户在我们的某个页面上“点击”锚标记时,我们得到“wwahost.exe中发生未处理的win32异常”。

我们检查了此问题的注册地址:https://support.microsoft.com/en-us/kb/811191,默认情况下一切正确。

根据谷歌的一些搜索,这是我们能找到的唯一解决方案。

在调试器中 -

“调用堆栈”:

mshtml.dll!CDocument::Doc(void) Unknown
    mshtml.dll!CAttribute::GetNSAtomTable() Unknown
    mshtml.dll!CAttribute::NamespaceURI(void)   Unknown
    mshtml.dll!CAttribute::get_namespaceURI()   Unknown
    mshtml.dll!CAttribute::get_ie9_nodeValue()  Unknown
    mshtml.dll!CAttribute::get_ie9_value(unsigned short * *)    Unknown
    mshtml.dll!CDOMMutationEvent::PrepareEvent()    Unknown
    mshtml.dll!CEventMgr::Dispatch()    Unknown
    mshtml.dll!CEventMgr::DispatchDOMAttrModified(class CElement *,unsigned short const *,struct PROPERTYDESC const *,long,class CNSAttr *,unsigned short const *,unsigned short,bool)  Unknown
    mshtml.dll!CEventMgr::DispatchDOMAttrModified(class CElement *,unsigned short const *,struct PROPERTYDESC const *,long,class CNSAttr *,unsigned short const *,unsigned short)   Unknown
    mshtml.dll!BASICPROPPARAMS::SetStyleComponentProperty() Unknown
    mshtml.dll!CCSSStyleDeclaration::put_StyleComponentLocalHelper()    Unknown
    mshtml.dll!CWritableCSSStyleDeclaration::put_transitionDuration(unsigned short *)   Unknown
    mshtml.dll!CFastDOM::CCSSStyleDeclaration::Trampoline_Set_transitionDuration(void *,struct CallInfo,...)    Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptExternalFunction::ExternalFunctionThunk()    Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptFunction::CallFunction<1>(class Js::RecyclableObject *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments)    Unknown
    jscript9.dll!Js::HelperOrLibraryMethodWrapper<1,class <lambda_f3fb5c5fabf75a41a43766851a4fc31b> >(class Js::ScriptContext *,class <lambda_f3fb5c5fabf75a41a43766851a4fc31b>)    Unknown
    jscript9.dll!Js::ScriptContext::ProfileModeThunk_DebugModeWrapper(class Js::JavascriptFunction *,class Js::ScriptContext *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments &) Unknown
    jscript9.dll!Js::ScriptContext::DebugProfileProbeThunk(class Js::RecyclableObject *,struct Js::CallInfo,...)    Unknown
    jscript9.dll!<lambda>(void)()   Unknown
    jscript9.dll!Js::JavascriptOperators::CallSetter()  Unknown
    jscript9.dll!Js::JavascriptOperators::OP_SetElementI()  Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_SetElementI_NoFastPath(struct Js::OpLayoutElementI const *,void *,enum Js::PropertyOperationFlags)   Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_ProfiledSetElementI()    Unknown
    jscript9.dll!Js::InterpreterStackFrame::ProcessWithDebugging(void)  Unknown
    jscript9.dll!Js::InterpreterStackFrame::DebugProcess(void)  Unknown
    jscript9.dll!Js::InterpreterStackFrame::InterpreterThunk<1>()   Unknown
    000000045d541fbb()  Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptFunction::CallFunction<1>(class Js::RecyclableObject *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments)    Unknown
    jscript9.dll!Js::ScriptContext::DebugProfileProbeThunk(class Js::RecyclableObject *,struct Js::CallInfo,...)    Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptFunction::CallFunction<1>(class Js::RecyclableObject *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments)    Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_CallCommon<struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> >(struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> const *,class Js::RecyclableObject *,unsigned int)  Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_ProfileCallCommon<struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> >(struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> const *,class Js::RecyclableObject *,unsigned int,unsigned short)    Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_ProfiledCallI<struct Js::OpLayoutCallI_OneByte>(struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> const *,unsigned int)    Unknown
    jscript9.dll!Js::InterpreterStackFrame::ProcessWithDebugging(void)  Unknown
    jscript9.dll!Js::InterpreterStackFrame::DebugProcess(void)  Unknown
    jscript9.dll!Js::InterpreterStackFrame::InterpreterThunk<1>()   Unknown
    000000045d541943()  Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptFunction::CallFunction<1>(class Js::RecyclableObject *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments)    Unknown
    jscript9.dll!Js::ScriptContext::DebugProfileProbeThunk(class Js::RecyclableObject *,struct Js::CallInfo,...)    Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptFunction::CallFunction<1>(class Js::RecyclableObject *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments)    Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_CallCommon<struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> >(struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> const *,class Js::RecyclableObject *,unsigned int)  Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_ProfileCallCommon<struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> >(struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> const *,class Js::RecyclableObject *,unsigned int,unsigned short)    Unknown
    jscript9.dll!Js::InterpreterStackFrame::OP_ProfiledCallI<struct Js::OpLayoutCallI_OneByte>(struct Js::OpLayoutDynamicProfile<struct Js::OpLayoutCallI_OneByte> const *,unsigned int)    Unknown
    jscript9.dll!Js::InterpreterStackFrame::ProcessWithDebugging(void)  Unknown
    jscript9.dll!Js::InterpreterStackFrame::DebugProcess(void)  Unknown
    jscript9.dll!BailOutRecord::BailOutHelper() Unknown
    jscript9.dll!BailOutRecord::BailOutCommonNoCodeGen(class Js::JavascriptCallStackLayout *,class BailOutRecord const *,unsigned int,void *,enum IR::BailOutKind,void * *,struct BailOutRecord::BailOutReturnValue *)  Unknown
    jscript9.dll!BailOutRecord::BailOutCommon(class Js::JavascriptCallStackLayout *,class BailOutRecord const *,unsigned int,void *,enum IR::BailOutKind,struct BailOutRecord::BailOutReturnValue *)    Unknown
    jscript9.dll!BailOutRecord::BailOut()   Unknown
    000000046a05d891()  Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptFunction::CallFunction<1>(class Js::RecyclableObject *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments)    Unknown
    jscript9.dll!Js::ScriptContext::DebugProfileProbeThunk(class Js::RecyclableObject *,struct Js::CallInfo,...)    Unknown
    jscript9.dll!amd64_CallFunction ()  Unknown
    jscript9.dll!Js::JavascriptFunction::CallFunction<1>(class Js::RecyclableObject *,void * (*)(class Js::RecyclableObject *,struct Js::CallInfo,...),struct Js::Arguments)    Unknown
    jscript9.dll!Js::JavascriptFunction::CallRootFunction() Unknown
    jscript9.dll!ScriptSite::CallRootFunction(class Js::JavascriptFunction *,struct Js::Arguments,struct IServiceProvider *,void * *)   Unknown
    jscript9.dll!ScriptSite::Execute(class Js::RecyclableObject *,struct Js::Arguments *,struct IServiceProvider *,void * *)    Unknown
    jscript9.dll!JavascriptDispatch::InvokeOnSelf() Unknown
    jscript9.dll!JavascriptDispatch::InvokeEx() Unknown
    mshtml.dll!CBase::InvokeDispatchWithThis()  Unknown
    mshtml.dll!CEventMgr::InvokeNonLegacyListener(class CBase *,struct IDispatch *,struct IDispatch *,struct tagVARIANT *,struct tagDISPPARAMS *,struct tagEXCEPINFO *,struct tagVARIANT *) Unknown
    mshtml.dll!CListenerDispatch::InvokeDispatch(class CBase *,class CEventListener *,struct DISPATCHINFO *,struct tagVARIANT *)    Unknown
    mshtml.dll!CListenerDispatch::Invoke()  Unknown
    mshtml.dll!CEventMgr::_InvokeListeners()    Unknown
    mshtml.dll!CEventMgr::_DispatchBubblePhase(class CDOMEvent *,struct DISPATCHINFO *) Unknown
    mshtml.dll!CEventMgr::Dispatch()    Unknown
    mshtml.dll!CEventMgr::DispatchMouseEvent()  Unknown
    mshtml.dll!CElement::FireStdEvent_MouseHelper() Unknown
    mshtml.dll!CElement::FireStdEventOnMessage()    Unknown
    mshtml.dll!CDoc::PumpMessage()  Unknown
    mshtml.dll!CMouseHandler::HandleSyntheticMessage()  Unknown
    mshtml.dll!CTouchHelper::PumpSynthesizedMessage(class CMessage *,bool)  Unknown
    mshtml.dll!CTouchHelper::PrepareAndPump(class CMessage *,class CMessage const *,class TOUCHCONTEXT *)   Unknown
    mshtml.dll!CTouchHelper::FireMouseEventMessage(class CMessage const *,class TOUCHCONTEXT *,unsigned int,bool)   Unknown
    mshtml.dll!CTouchHelper::FireMouseDownMessages()    Unknown
    mshtml.dll!CTouchHelper::FirePointerDownMessages(class CMessage const *,class TOUCHCONTEXT *)   Unknown
    mshtml.dll!CTouchHelper::GenerateInputEvents()  Unknown
    mshtml.dll!CTouchHelper::OnPointerMessage() Unknown
    mshtml.dll!CTouchHelper::HandleMessage(unsigned int,unsigned __int64,__int64,__int64 *) Unknown
    mshtml.dll!CInputManager::HandleMessage(unsigned int,unsigned __int64,__int64,__int64 *,bool *) Unknown
    mshtml.dll!CDoc::OnWindowMessage()  Unknown
    mshtml.dll!CServer::WndProc(struct HWND__ *,unsigned int,unsigned __int64,__int64)  Unknown
    user32.dll!UserCallWinProcCheckWow()    Unknown
    user32.dll!DispatchMessageWorker()  Unknown
    Windows.UI.dll!Windows::UI::Core::CDispatcher::WaitAndProcessMessages(void * hEventWait) Line 321   C++
    Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessEvents(Windows::UI::Core::CoreProcessEventsOption options) Line 390   C++
    WWAHost.exe!CoreWindowDispatcher::RunMessageLoop(struct Windows::UI::Core::ICoreWindow *)   Unknown
    WWAHost.exe!WebInstance::Run(void)  Unknown
    twinapi.appcore.dll!Windows::ApplicationModel::Core::CoreApplicationView::Run(void) Unknown
    twinapi.appcore.dll!Windows::ApplicationModel::Core::CoreApplicationView::Uninitialize(void)    Unknown
    SHCore.dll!StrRetToBSTR ()  Unknown
    kernel32.dll!BaseThreadInitThunk () Unknown
    ntdll.dll!RtlUserThreadStart () Unknown

和输出:

'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WWAHost.exe'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\urlmon.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\wininet.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\MrmCoreR.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\BCP47Langs.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\rometadata.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ninput.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\mshtml.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\actxprxy.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\igd10iumd64.dll'. Cannot find or open the PDB file.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\d3d10_1.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ncrypt.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\d3d10_1core.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ntasn1.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\igdusc64.dll'. Cannot find or open the PDB file.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msimtf.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WwaApi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\VS7Debug\pdm.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\VS7Debug\msdbg2.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\VS7Debug\pdmproxy100.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\VS7Debug\VSDebugScriptAgent120.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\jscript9.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\Script Diagnostics\amd64\DiagnosticsTap.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\mlang.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WindowsCodecs.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\PhotoMetadataHandler.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WindowsCodecsExt.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msxml6.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\t2embed.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\mfplat.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\RTWorkQ.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\MFMediaEngine.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Media.MediaControl.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\profext.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\xmllite.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\sxs.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Storage.ApplicationData.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Devices.Enumeration.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\DevDispItemProvider.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\StructuredQuery.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\MSWB7.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Internet Explorer\ieproxy.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Devices.Enumeration.ps.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\oleacc.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\UIAutomationCore.dll'. Symbols loaded.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\UIAnimation.dll'. Symbols loaded.
The thread 0x19b8 has exited with code 0 (0x0).
Unhandled exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.

First-chance exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.
Unhandled exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.

First-chance exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.
The thread 0x2880 has exited with code 0 (0x0).
Unhandled exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.

First-chance exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.
Unhandled exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.

First-chance exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.
Unhandled exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.

First-chance exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.
Unhandled exception at 0x00007FF98C21A67B (mshtml.dll) in WWAHost.exe: 0xC0000005: Access violation reading location 0x0000000000000068.

每次查看调试器时都会出现First-chance exception...错误。不确定它是否与应用程序或视觉工作室问题有关。

在我们的cordova代码中,这是我们正在使用的html。选择a标签是错误的情况。

<div class="case-study-wrapper active nanowrap nanoslim convention-center" data-has-video="yes">
    <div class="logo-wrapper">
        <a data-linked-content="case-studies.html?subsec=#ix-center" data-content-id="ix-center" href="#"></a>
        <img src="img/installation-logos/ixcenter-logo.png" />
    </div>
    <div class="description">
        <p>IX Center</p>
        <p><strong>NanoWrap and NanoSlim</strong></p>
        <p class="industry">Convention Centers</p>
    </div>
    <div class="video-icon visible">
        <div class="ion-ios-videocam"></div>
    </div>
</div>

data-属性根据其值触发eventlisteners和其他函数。

4 个答案:

答案 0 :(得分:3)

有一个更快的解决方法,适用于大多数应用程序;在单击并获取WWAHost.exe异常之前,请关闭DOM Explorer窗口。这应该使您能够通过命中断点等进行调试。如果您需要使用DOM Ex(针对Windows目标),我建议尝试使用Kenneth的解决方案。

答案 1 :(得分:2)

我发现的唯一解决方法是让我调试混合Windows应用商店应用程序一直是在另一台机器上使用远程调试。如果您没有两台机器,那就太痛苦了,但您可以将虚拟机用作远程机器。

答案 2 :(得分:1)

我在使用Cordova应用程序的Windows 8.1中遇到了与输入标签类似的问题。似乎只发生在使用触摸屏的平板电脑用户身上。这是我的简单图像上传/预览按钮的代码。

HTML:

<label class="lbl-upload" for="uploadFile1"> <img class="img-upload" src="img/add-photos.png" id="uploadBtn1" /> </label> <input type="file" name="uploadFile1" id="uploadFile1" /> <img id="img1" src="#" alt="your image" />

JS:

var coors;

$('#uploadFile1').change(function() {
  clearTimeout(coors);
  coors = setTimeout(function() {
        var reader = new FileReader(); 
        var file = document.querySelector('#uploadFile1').files[0];
        var preview = document.querySelector('#img1');
        reader.onloadend = function () {
            preview.src = reader.result;
        }
        if (file){
            reader.readAsDataURL(file);
        }
        else {
            preview.src = "";
        }
  }, 2000);
});

无论出于何种原因,触摸屏都需要延迟。不是很漂亮,但完成工作。

答案 3 :(得分:0)

当VS崩溃时,它变得腐败了。我重新安装并选择“修复”,现在没问题。