| 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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 | 868 |
| 869 /** @enum {string} */ | 869 /** @enum {string} */ |
| 870 SDK.DebuggerModel.BreakReason = { | 870 SDK.DebuggerModel.BreakReason = { |
| 871 DOM: 'DOM', | 871 DOM: 'DOM', |
| 872 EventListener: 'EventListener', | 872 EventListener: 'EventListener', |
| 873 XHR: 'XHR', | 873 XHR: 'XHR', |
| 874 Exception: 'exception', | 874 Exception: 'exception', |
| 875 PromiseRejection: 'promiseRejection', | 875 PromiseRejection: 'promiseRejection', |
| 876 Assert: 'assert', | 876 Assert: 'assert', |
| 877 DebugCommand: 'debugCommand', | 877 DebugCommand: 'debugCommand', |
| 878 OOM: 'OOM', |
| 878 Other: 'other' | 879 Other: 'other' |
| 879 }; | 880 }; |
| 880 | 881 |
| 881 SDK.DebuggerEventTypes = { | 882 SDK.DebuggerEventTypes = { |
| 882 JavaScriptPause: 0, | 883 JavaScriptPause: 0, |
| 883 JavaScriptBreakpoint: 1, | 884 JavaScriptBreakpoint: 1, |
| 884 NativeBreakpoint: 2 | 885 NativeBreakpoint: 2 |
| 885 }; | 886 }; |
| 886 | 887 |
| 887 /** | 888 /** |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1356 stack.callFrames.shift(); | 1357 stack.callFrames.shift(); |
| 1357 if (previous && !stack.callFrames.length) | 1358 if (previous && !stack.callFrames.length) |
| 1358 previous.parent = stack.parent; | 1359 previous.parent = stack.parent; |
| 1359 else | 1360 else |
| 1360 previous = stack; | 1361 previous = stack; |
| 1361 stack = stack.parent; | 1362 stack = stack.parent; |
| 1362 } | 1363 } |
| 1363 return asyncStackTrace; | 1364 return asyncStackTrace; |
| 1364 } | 1365 } |
| 1365 }; | 1366 }; |
| OLD | NEW |