OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 var executionContext = WebInspector.context.flavor(WebInspector.Executio
nContext); | 712 var executionContext = WebInspector.context.flavor(WebInspector.Executio
nContext); |
713 if (!executionContext) | 713 if (!executionContext) |
714 return; | 714 return; |
715 var callFrame = executionContext.debuggerModel.selectedCallFrame(); | 715 var callFrame = executionContext.debuggerModel.selectedCallFrame(); |
716 if (!callFrame) | 716 if (!callFrame) |
717 return; | 717 return; |
718 | 718 |
719 var localScope = callFrame.localScope(); | 719 var localScope = callFrame.localScope(); |
720 var functionLocation = callFrame.functionLocation(); | 720 var functionLocation = callFrame.functionLocation(); |
721 if (localScope && functionLocation) | 721 if (localScope && functionLocation) |
722 localScope.object().getAllProperties(false, this._prepareScopeVariab
les.bind(this, callFrame)); | 722 WebInspector.SourceMapNamesResolver.resolveScopeInObject(localScope)
.getAllProperties(false, this._prepareScopeVariables.bind(this, callFrame)); |
723 | 723 |
724 if (this._clearValueWidgetsTimer) { | 724 if (this._clearValueWidgetsTimer) { |
725 clearTimeout(this._clearValueWidgetsTimer); | 725 clearTimeout(this._clearValueWidgetsTimer); |
726 delete this._clearValueWidgetsTimer; | 726 delete this._clearValueWidgetsTimer; |
727 } | 727 } |
728 }, | 728 }, |
729 | 729 |
730 /** | 730 /** |
731 * @param {!WebInspector.DebuggerModel.CallFrame} callFrame | 731 * @param {!WebInspector.DebuggerModel.CallFrame} callFrame |
732 * @param {?Array.<!WebInspector.RemoteObjectProperty>} properties | 732 * @param {?Array.<!WebInspector.RemoteObjectProperty>} properties |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); | 1119 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); |
1120 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); | 1120 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); |
1121 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); | 1121 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); |
1122 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); | 1122 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); |
1123 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); | 1123 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); |
1124 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); | 1124 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); |
1125 }, | 1125 }, |
1126 | 1126 |
1127 __proto__: WebInspector.UISourceCodeFrame.prototype | 1127 __proto__: WebInspector.UISourceCodeFrame.prototype |
1128 } | 1128 } |
OLD | NEW |