OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 { | 310 { |
311 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause
OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) | 311 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause
OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) |
312 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); | 312 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); |
313 } | 313 } |
314 | 314 |
315 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const
String& source, const String& url, const String& functionName) | 315 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const
String& source, const String& url, const String& functionName) |
316 { | 316 { |
317 return scriptDebugServer().preprocessEventListener(frame, source, url, funct
ionName); | 317 return scriptDebugServer().preprocessEventListener(frame, source, url, funct
ionName); |
318 } | 318 } |
319 | 319 |
320 PassOwnPtr<ScriptSourceCode> InspectorDebuggerAgent::preprocess(LocalFrame* fram
e, const ScriptSourceCode& sourceCode) | 320 Nullable<ScriptSourceCode> InspectorDebuggerAgent::preprocess(LocalFrame* frame,
const ScriptSourceCode& sourceCode) |
321 { | 321 { |
322 return scriptDebugServer().preprocess(frame, sourceCode); | 322 return scriptDebugServer().preprocess(frame, sourceCode); |
323 } | 323 } |
324 | 324 |
325 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url,
int lineNumber, int columnNumber, const String& condition, bool isRegex) | 325 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url,
int lineNumber, int columnNumber, const String& condition, bool isRegex) |
326 { | 326 { |
327 RefPtr<JSONObject> breakpointObject = JSONObject::create(); | 327 RefPtr<JSONObject> breakpointObject = JSONObject::create(); |
328 breakpointObject->setString(DebuggerAgentState::url, url); | 328 breakpointObject->setString(DebuggerAgentState::url, url); |
329 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber); | 329 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber); |
330 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber); | 330 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber); |
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1558 visitor->trace(m_v8AsyncCallTracker); | 1558 visitor->trace(m_v8AsyncCallTracker); |
1559 visitor->trace(m_promiseTracker); | 1559 visitor->trace(m_promiseTracker); |
1560 visitor->trace(m_asyncOperationsForStepInto); | 1560 visitor->trace(m_asyncOperationsForStepInto); |
1561 visitor->trace(m_currentAsyncCallChain); | 1561 visitor->trace(m_currentAsyncCallChain); |
1562 visitor->trace(m_asyncCallTrackingListeners); | 1562 visitor->trace(m_asyncCallTrackingListeners); |
1563 #endif | 1563 #endif |
1564 InspectorBaseAgent::trace(visitor); | 1564 InspectorBaseAgent::trace(visitor); |
1565 } | 1565 } |
1566 | 1566 |
1567 } // namespace blink | 1567 } // namespace blink |
OLD | NEW |