Bug 71291
| Summary: | Web Inspector: [JSC] Breakpoins don't work when debugging Web Inspector | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikita Vasilyev <me> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | apavlov, bburg, burg, bweinstein, ggaren, joepeck, keishi, loislo, mark.lam, oliver, pfeldman, pmuellr, rik, yurys |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Nikita Vasilyev
Breakpoints used to didn't work on *some* functions (https://bugs.webkit.org/show_bug.cgi?id=42252), now they don't work at all.
http://www.screenr.com/Wels
Sometimes error like this happens and UI freezes:
➤ Tools/Scripts/run-safari --debug
Starting Safari with DYLD_FRAMEWORK_PATH set to point to built WebKit in /Users/nv/Code/WebKit/WebKitBuild/Debug.
ASSERTION FAILED: m_suspended
/Users/nv/Code/WebKit/Source/WebCore/page/SuspendableTimer.cpp(76) : virtual void WebCore::SuspendableTimer::resume()
1 0x1035c4469 WebCore::SuspendableTimer::resume()
2 0x103528740 WebCore::ScriptExecutionContext::resumeActiveDOMObjects()
3 0x102a1055e WebCore::Document::resumeActiveDOMObjects()
4 0x1032c6924 WebCore::PageScriptDebugServer::setJavaScriptPaused(WebCore::Frame*, bool)
5 0x1032c69e0 WebCore::PageScriptDebugServer::setJavaScriptPaused(WebCore::Page*, bool)
6 0x1032c6a71 WebCore::PageScriptDebugServer::setJavaScriptPaused(WebCore::PageGroup const&, bool)
7 0x1032c6b34 WebCore::PageScriptDebugServer::didContinue(JSC::JSGlobalObject*)
8 0x10351fb7f WebCore::ScriptDebugServer::pauseIfNeeded(JSC::JSGlobalObject*)
9 0x10351fc87 WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded(JSC::DebuggerCallFrame const&, long, int)
10 0x10351fefd WebCore::ScriptDebugServer::atStatement(JSC::DebuggerCallFrame const&, long, int)
11 0x101d70c1d JSC::Interpreter::debug(JSC::ExecState*, JSC::DebugHookID, int, int)
12 0x101d9aba4 cti_op_debug
13 0x101d99ae1 jscGeneratedNativeCode
14 0x101d78042 JSC::JITCode::execute(JSC::RegisterFile*, JSC::ExecState*, JSC::JSGlobalData*)
15 0x101d720fa JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
16 0x101cf5dc7 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
17 0x102e6db10 WebCore::JSMainThreadExecState::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
18 0x102f3f8b5 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*)
19 0x102b883f0 WebCore::EventTarget::fireEventListeners(WebCore::Event*, WebCore::EventTargetData*, WTF::Vector<WebCore::RegisteredEventListener, 1ul>&)
20 0x102b88936 WebCore::EventTarget::fireEventListeners(WebCore::Event*)
21 0x10327dc29 WebCore::Node::handleLocalEvents(WebCore::Event*)
22 0x102b6a012 WebCore::EventContext::handleLocalEvents(WebCore::Event*) const
23 0x102b6b63f WebCore::EventDispatcher::dispatchEvent(WTF::PassRefPtr<WebCore::Event>)
24 0x102b6a153 WebCore::EventDispatchMediator::dispatchEvent(WebCore::EventDispatcher*) const
25 0x102b6a227 WebCore::FocusEventDispatchMediator::dispatchEvent(WebCore::EventDispatcher*) const
26 0x102b6aaa1 WebCore::EventDispatcher::dispatchEvent(WebCore::Node*, WTF::PassRefPtr<WebCore::EventDispatchMediator>)
27 0x10327d6ad WebCore::Node::dispatchFocusEvent(WTF::PassRefPtr<WebCore::Node>)
28 0x102bb3adc WebCore::dispatchEventsOnWindowAndFocusedNode(WebCore::Document*, bool)
29 0x102bb3cba WebCore::FocusController::setActive(bool)
30 0x10108c80e WebKit::WebPage::setActive(bool)
31 0x10114dd10 void CoreIPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(bool), bool>(CoreIPC::Arguments1<bool> const&, WebKit::WebPage*, void (WebKit::WebPage::*)(bool))
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Blaze Burg
This no longer fails unconditionally, after some changes to JSC in the past few months. I have occasionally run into crashes, but those should be reported in new bugs.