Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 48 | 48 |
| 49 this._breakpointsActive = true; | 49 this._breakpointsActive = true; |
| 50 | 50 |
| 51 WebInspector.settings.pauseOnExceptionEnabled.addChangeListener(this._pauseO nExceptionStateChanged, this); | 51 WebInspector.settings.pauseOnExceptionEnabled.addChangeListener(this._pauseO nExceptionStateChanged, this); |
| 52 WebInspector.settings.pauseOnCaughtException.addChangeListener(this._pauseOn ExceptionStateChanged, this); | 52 WebInspector.settings.pauseOnCaughtException.addChangeListener(this._pauseOn ExceptionStateChanged, this); |
| 53 | 53 |
| 54 WebInspector.settings.enableAsyncStackTraces.addChangeListener(this._asyncSt ackTracesStateChanged, this); | 54 WebInspector.settings.enableAsyncStackTraces.addChangeListener(this._asyncSt ackTracesStateChanged, this); |
| 55 | 55 |
| 56 this.enableDebugger(); | 56 this.enableDebugger(); |
| 57 | 57 |
| 58 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this.applySkip StackFrameSettings, this); | |
|
pfeldman
2014/03/27 15:27:14
Make apply methods private?
apavlov
2014/03/28 10:21:23
Done.
| |
| 59 WebInspector.settings.skipStackFramesPattern.addChangeListener(this.applySki pStackFrameSettings, this); | |
| 58 this.applySkipStackFrameSettings(); | 60 this.applySkipStackFrameSettings(); |
| 59 } | 61 } |
| 60 | 62 |
| 61 /** | 63 /** |
| 62 * Keep these in sync with WebCore::ScriptDebugServer | 64 * Keep these in sync with WebCore::ScriptDebugServer |
| 63 * | 65 * |
| 64 * @enum {string} | 66 * @enum {string} |
| 65 */ | 67 */ |
| 66 WebInspector.DebuggerModel.PauseOnExceptionsState = { | 68 WebInspector.DebuggerModel.PauseOnExceptionsState = { |
| 67 DontPauseOnExceptions : "none", | 69 DontPauseOnExceptions : "none", |
| (...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1027 this.callFrames[i].dispose(); | 1029 this.callFrames[i].dispose(); |
| 1028 if (this.asyncStackTrace) | 1030 if (this.asyncStackTrace) |
| 1029 this.asyncStackTrace.dispose(); | 1031 this.asyncStackTrace.dispose(); |
| 1030 } | 1032 } |
| 1031 } | 1033 } |
| 1032 | 1034 |
| 1033 /** | 1035 /** |
| 1034 * @type {!WebInspector.DebuggerModel} | 1036 * @type {!WebInspector.DebuggerModel} |
| 1035 */ | 1037 */ |
| 1036 WebInspector.debuggerModel; | 1038 WebInspector.debuggerModel; |
| OLD | NEW |