我有一个Qt QWebView,它只包含在嵌入式Flash播放器中运行的SWF。嵌入在QWebView中的Flash Player导致Xcode中的断点
即HTML看起来像这样:
<body style="margin: 0px; overflow:hidden; background: #FFFFFF">
<object type="application/x-shockwave-flash" data="preview.swf" width="100%" height="100%">
</object>
</body>
一切都在我的应用程序工作,但QWebView第一次加载时,一个破发点在Xcode的调试器总是被触发。调用堆栈看起来是这样的:
#0 0x9642d126 in Debugger
#1 0x77a03785 in dyld_stub_write
#2 0x77a03a3f in NP_Initialize
#3 0x2663fcfd in WebCore::PluginPackage::load
#4 0x2664041f in WebCore::PluginPackage::fetchInfo
#5 0x264dffa7 in WebCore::PluginPackage::createPackage
#6 0x264daf55 in WebCore::PluginDatabase::refresh
#7 0x264db31c in WebCore::PluginDatabase::installedPlugins
#8 0x2661d519 in WebCore::FrameLoaderClientQt::objectContentType
#9 0x26361e26 in WebCore::HTMLPlugInImageElement::isImageType
和控制台显示的是:
Debugger() was called!
所以很清楚dyld_stub_write是调用调试器()和断裂(故意大概)...任何想法,为什么这可能会发生?我怎样才能让它消失?这非常烦人。