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

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

Issue 290633009: DevTools: Show detailed information for exceptions during snippet execution. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void evaluateOnCallFrame(ErrorString*, 125 virtual void evaluateOnCallFrame(ErrorString*,
126 const String& callFrameId, 126 const String& callFrameId,
127 const String& expression, 127 const String& expression,
128 const String* objectGroup, 128 const String* objectGroup,
129 const bool* includeCommandLineAPI, 129 const bool* includeCommandLineAPI,
130 const bool* doNotPauseOnExceptionsAndMuteConsole, 130 const bool* doNotPauseOnExceptionsAndMuteConsole,
131 const bool* returnByValue, 131 const bool* returnByValue,
132 const bool* generatePreview, 132 const bool* generatePreview,
133 RefPtr<TypeBuilder::Runtime::RemoteObject>& result, 133 RefPtr<TypeBuilder::Runtime::RemoteObject>& result,
134 TypeBuilder::OptOutput<bool>* wasThrown) OVERRIDE FINAL; 134 TypeBuilder::OptOutput<bool>* wasThrown) OVERRIDE FINAL;
135 virtual void compileScript(ErrorString*, const String& expression, const Str ing& sourceURL, const int* executionContextId, TypeBuilder::OptOutput<TypeBuilde r::Debugger::ScriptId>*, TypeBuilder::OptOutput<String>* syntaxErrorMessage) OVE RRIDE; 135 virtual void compileScript(ErrorString*, const String& expression, const Str ing& sourceURL, const int* executionContextId, TypeBuilder::OptOutput<TypeBuilde r::Debugger::ScriptId>*, RefPtr<TypeBuilder::Debugger::ExceptionDetails>&) OVERR IDE;
136 virtual void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const int* executionContextId, const String* objectGroup, const bool* doNotPaus eOnExceptionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, TypeBuilder::OptOutput<bool>* wasThrown) OVERRIDE; 136 virtual void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const int* executionContextId, const String* objectGroup, const bool* doNotPaus eOnExceptionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, RefPtr<TypeBuilder::Debugger::ExceptionDetails>&) OVERRIDE;
137 virtual void setOverlayMessage(ErrorString*, const String*) OVERRIDE; 137 virtual void setOverlayMessage(ErrorString*, const String*) OVERRIDE;
138 virtual void setVariableValue(ErrorString*, int in_scopeNumber, const String & in_variableName, const RefPtr<JSONObject>& in_newValue, const String* in_callF rame, const String* in_functionObjectId) OVERRIDE FINAL; 138 virtual void setVariableValue(ErrorString*, int in_scopeNumber, const String & in_variableName, const RefPtr<JSONObject>& in_newValue, const String* in_callF rame, const String* in_functionObjectId) OVERRIDE FINAL;
139 virtual void skipStackFrames(ErrorString*, const String* pattern) OVERRIDE F INAL; 139 virtual void skipStackFrames(ErrorString*, const String* pattern) OVERRIDE F INAL;
140 virtual void setAsyncCallStackDepth(ErrorString*, int depth) OVERRIDE FINAL; 140 virtual void setAsyncCallStackDepth(ErrorString*, int depth) OVERRIDE FINAL;
141 141
142 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data); 142 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
143 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot); 143 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot);
144 void didRemoveTimer(ExecutionContext*, int timerId); 144 void didRemoveTimer(ExecutionContext*, int timerId);
145 bool willFireTimer(ExecutionContext*, int timerId); 145 bool willFireTimer(ExecutionContext*, int timerId);
146 void didFireTimer(); 146 void didFireTimer();
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 int m_minFrameCountForSkip; 243 int m_minFrameCountForSkip;
244 bool m_skipAllPauses; 244 bool m_skipAllPauses;
245 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 245 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
246 AsyncCallStackTracker m_asyncCallStackTracker; 246 AsyncCallStackTracker m_asyncCallStackTracker;
247 }; 247 };
248 248
249 } // namespace WebCore 249 } // namespace WebCore
250 250
251 251
252 #endif // !defined(InspectorDebuggerAgent_h) 252 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698