Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.h

Issue 374903002: DevTools: Async call stacks for Promises and Object.observe. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 bool isTopCallFrameInFramework(); 205 bool isTopCallFrameInFramework();
206 206
207 void cancelPauseOnNextStatement(); 207 void cancelPauseOnNextStatement();
208 void addMessageToConsole(MessageSource, MessageType); 208 void addMessageToConsole(MessageSource, MessageType);
209 209
210 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal lFrames(); 210 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal lFrames();
211 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); 211 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace();
212 212
213 virtual void didParseSource(const String& scriptId, const Script&) OVERRIDE FINAL; 213 virtual void didParseSource(const String& scriptId, const Script&) OVERRIDE FINAL;
214 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) OVERRIDE FINAL; 214 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) OVERRIDE FINAL;
215 virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eve ntType, const String& eventName, int id) OVERRIDE FINAL;
215 216
216 void setPauseOnExceptionsImpl(ErrorString*, int); 217 void setPauseOnExceptionsImpl(ErrorString*, int);
217 218
218 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String& breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource) ; 219 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String& breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource) ;
219 void removeBreakpoint(const String& breakpointId); 220 void removeBreakpoint(const String& breakpointId);
220 void clear(); 221 void clear();
221 bool assertPaused(ErrorString*); 222 bool assertPaused(ErrorString*);
222 void clearBreakDetails(); 223 void clearBreakDetails();
223 224
224 String sourceMapURLForScript(const Script&); 225 String sourceMapURLForScript(const Script&);
(...skipping 24 matching lines...) Expand all
249 int m_minFrameCountForSkip; 250 int m_minFrameCountForSkip;
250 bool m_skipAllPauses; 251 bool m_skipAllPauses;
251 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 252 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
252 AsyncCallStackTracker m_asyncCallStackTracker; 253 AsyncCallStackTracker m_asyncCallStackTracker;
253 }; 254 };
254 255
255 } // namespace WebCore 256 } // namespace WebCore
256 257
257 258
258 #endif // !defined(InspectorDebuggerAgent_h) 259 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698