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) 2010-2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2010-2011 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String&
breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource)
; | 231 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String&
breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource)
; |
232 void removeBreakpoint(const String& breakpointId); | 232 void removeBreakpoint(const String& breakpointId); |
233 void clear(); | 233 void clear(); |
234 bool assertPaused(ErrorString*); | 234 bool assertPaused(ErrorString*); |
235 void clearBreakDetails(); | 235 void clearBreakDetails(); |
236 | 236 |
237 String sourceMapURLForScript(const Script&, CompileResult); | 237 String sourceMapURLForScript(const Script&, CompileResult); |
238 | 238 |
239 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameSkipUnknownSources()
; | 239 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameSkipUnknownSources()
; |
240 String scriptURL(JavaScriptCallFrame*); | 240 String scriptURL(JavaScriptCallFrame*); |
| 241 AsyncCallStackTracker& asyncCallStackTracker() { return *m_asyncCallStackTra
cker; }; |
241 | 242 |
242 typedef HashMap<String, Script> ScriptsMap; | 243 typedef HashMap<String, Script> ScriptsMap; |
243 typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpoint
IdsMap; | 244 typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpoint
IdsMap; |
244 typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBre
akpointToBreakpointIdAndSourceMap; | 245 typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBre
akpointToBreakpointIdAndSourceMap; |
245 | 246 |
246 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; | 247 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
247 InspectorFrontend::Debugger* m_frontend; | 248 InspectorFrontend::Debugger* m_frontend; |
248 RefPtr<ScriptState> m_pausedScriptState; | 249 RefPtr<ScriptState> m_pausedScriptState; |
249 ScriptValue m_currentCallStack; | 250 ScriptValue m_currentCallStack; |
250 ScriptsMap m_scripts; | 251 ScriptsMap m_scripts; |
251 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; | 252 BreakpointIdToDebugServerBreakpointIdsMap m_breakpointIdToDebugServerBreakpo
intIds; |
252 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; | 253 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; |
253 String m_continueToLocationBreakpointId; | 254 String m_continueToLocationBreakpointId; |
254 InspectorFrontend::Debugger::Reason::Enum m_breakReason; | 255 InspectorFrontend::Debugger::Reason::Enum m_breakReason; |
255 RefPtr<JSONObject> m_breakAuxData; | 256 RefPtr<JSONObject> m_breakAuxData; |
256 bool m_javaScriptPauseScheduled; | 257 bool m_javaScriptPauseScheduled; |
257 bool m_debuggerStepScheduled; | 258 bool m_debuggerStepScheduled; |
258 bool m_steppingFromFramework; | 259 bool m_steppingFromFramework; |
259 bool m_pausingOnNativeEvent; | 260 bool m_pausingOnNativeEvent; |
260 RawPtrWillBeMember<Listener> m_listener; | 261 RawPtrWillBeMember<Listener> m_listener; |
261 | 262 |
262 int m_skippedStepInCount; | 263 int m_skippedStepInCount; |
263 int m_minFrameCountForSkip; | 264 int m_minFrameCountForSkip; |
264 bool m_skipAllPauses; | 265 bool m_skipAllPauses; |
265 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 266 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
266 AsyncCallStackTracker m_asyncCallStackTracker; | 267 OwnPtrWillBeMember<AsyncCallStackTracker> m_asyncCallStackTracker; |
267 }; | 268 }; |
268 | 269 |
269 } // namespace blink | 270 } // namespace blink |
270 | 271 |
271 | 272 |
272 #endif // !defined(InspectorDebuggerAgent_h) | 273 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |