为什么Cordova Windows 8应用程序在wwahost.exe中发生未处理的win32exception?

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

我们检查了我们注册这个问题: https : //support.microsoft.com/en-us/kb/811191默认情况下,一切正常。

根据一些Googlesearch,这是我们能find的唯一解决scheme。

在debugging器中 –

“调用堆栈”:

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. 

每当我们查看debugging器时,我们都会得到First-chance exception...错误。 不知道它是否与应用程序或Visual Studio问题有关。

在我们的cordova代码中,这是我们正在使用的html。 selecta标签是什么情况下的错误。

 <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和其他函数。

Solutions Collecting From Web of "为什么Cordova Windows 8应用程序在wwahost.exe中发生未处理的win32exception?"

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

唯一的解决方法是,我发现允许我调试混合Windows商店应用程序一直在另一台机器上使用远程调试。 如果你没有两台机器,可能会感到痛苦,但是你也许可以使用虚拟机作为你的远程机器。

我用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); }); 

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

当VS崩溃时,它变成了损坏。 我重新安装并选择“修复”,现在很好。