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

Unified Diff: webkit/glue/devtools/js/debugger_agent.js

Issue 155138: DevTools: Issue 'scripts' command on attach only, work based on after_compile... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/debugger_agent.js
===================================================================
--- webkit/glue/devtools/js/debugger_agent.js (revision 20016)
+++ webkit/glue/devtools/js/debugger_agent.js (working copy)
@@ -106,17 +106,11 @@
* Resets debugger agent to its initial state.
*/
devtools.DebuggerAgent.prototype.reset = function() {
- this.scriptsCacheInitialized_ = false;
this.contextId_ = null;
this.parsedScripts_ = {};
this.requestNumberToBreakpointInfo_ = {};
this.currentCallFrame_ = null;
this.requestSeqToCallback_ = {};
- if (WebInspector.panels &&
- WebInspector.panels.scripts.element.parentElement) {
- // Scripts panel has been enabled already.
- devtools.tools.getDebuggerAgent().initializeScriptsCache();
- }
// Profiler isn't reset because it contains no data that is
// specific for a particular V8 instance. All such data is
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698