| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 SkipPauseRequest shouldSkipExceptionPause(); | 208 SkipPauseRequest shouldSkipExceptionPause(); |
| 209 SkipPauseRequest shouldSkipStepPause(); | 209 SkipPauseRequest shouldSkipStepPause(); |
| 210 bool isTopCallFrameInFramework(); | 210 bool isTopCallFrameInFramework(); |
| 211 | 211 |
| 212 void cancelPauseOnNextStatement(); | 212 void cancelPauseOnNextStatement(); |
| 213 void addMessageToConsole(MessageSource, MessageType); | 213 void addMessageToConsole(MessageSource, MessageType); |
| 214 | 214 |
| 215 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); | 215 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); |
| 216 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); | 216 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); |
| 217 | 217 |
| 218 virtual void didParseSource(const String& scriptId, const Script&, CompileRe
sult) OVERRIDE FINAL; | 218 virtual void didParseSource(const String& scriptId, Script&, CompileResult)
OVERRIDE FINAL; |
| 219 virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eve
ntType, const String& eventName, int id) OVERRIDE FINAL; | 219 virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eve
ntType, const String& eventName, int id) OVERRIDE FINAL; |
| 220 | 220 |
| 221 void setPauseOnExceptionsImpl(ErrorString*, int); | 221 void setPauseOnExceptionsImpl(ErrorString*, int); |
| 222 | 222 |
| 223 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String&
breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource)
; | 223 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String&
breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource)
; |
| 224 void removeBreakpoint(const String& breakpointId); | 224 void removeBreakpoint(const String& breakpointId); |
| 225 void clear(); | 225 void clear(); |
| 226 bool assertPaused(ErrorString*); | 226 bool assertPaused(ErrorString*); |
| 227 void clearBreakDetails(); | 227 void clearBreakDetails(); |
| 228 | 228 |
| 229 String sourceMapURLForScript(const Script&); | 229 String sourceMapURLForScript(const Script&, CompileResult); |
| 230 | 230 |
| 231 String scriptURL(JavaScriptCallFrame*); | 231 String scriptURL(JavaScriptCallFrame*); |
| 232 | 232 |
| 233 typedef HashMap<String, Script> ScriptsMap; | 233 typedef HashMap<String, Script> ScriptsMap; |
| 234 typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpoint
IdsMap; | 234 typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpoint
IdsMap; |
| 235 typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBre
akpointToBreakpointIdAndSourceMap; | 235 typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBre
akpointToBreakpointIdAndSourceMap; |
| 236 | 236 |
| 237 InjectedScriptManager* m_injectedScriptManager; | 237 InjectedScriptManager* m_injectedScriptManager; |
| 238 InspectorFrontend::Debugger* m_frontend; | 238 InspectorFrontend::Debugger* m_frontend; |
| 239 RefPtr<ScriptState> m_pausedScriptState; | 239 RefPtr<ScriptState> m_pausedScriptState; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 254 int m_minFrameCountForSkip; | 254 int m_minFrameCountForSkip; |
| 255 bool m_skipAllPauses; | 255 bool m_skipAllPauses; |
| 256 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 256 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
| 257 AsyncCallStackTracker m_asyncCallStackTracker; | 257 AsyncCallStackTracker m_asyncCallStackTracker; |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 } // namespace WebCore | 260 } // namespace WebCore |
| 261 | 261 |
| 262 | 262 |
| 263 #endif // !defined(InspectorDebuggerAgent_h) | 263 #endif // !defined(InspectorDebuggerAgent_h) |
| OLD | NEW |