| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 * Debugger support for the V8 JavaScript engine. | 68 * Debugger support for the V8 JavaScript engine. |
| 69 */ | 69 */ |
| 70 namespace v8 { | 70 namespace v8 { |
| 71 | 71 |
| 72 // Debug events which can occur in the V8 JavaScript engine. | 72 // Debug events which can occur in the V8 JavaScript engine. |
| 73 enum DebugEvent { | 73 enum DebugEvent { |
| 74 Break = 1, | 74 Break = 1, |
| 75 Exception = 2, | 75 Exception = 2, |
| 76 NewFunction = 3, | 76 NewFunction = 3, |
| 77 BeforeCompile = 4, | 77 BeforeCompile = 4, |
| 78 AfterCompile = 5 | 78 AfterCompile = 5, |
| 79 ScriptCollected = 6 |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 | 82 |
| 82 class EXPORT Debug { | 83 class EXPORT Debug { |
| 83 public: | 84 public: |
| 84 /** | 85 /** |
| 85 * A client object passed to the v8 debugger whose ownership will be taken by | 86 * A client object passed to the v8 debugger whose ownership will be taken by |
| 86 * it. v8 is always responsible for deleting the object. | 87 * it. v8 is always responsible for deleting the object. |
| 87 */ | 88 */ |
| 88 class ClientData { | 89 class ClientData { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 }; | 241 }; |
| 241 | 242 |
| 242 | 243 |
| 243 } // namespace v8 | 244 } // namespace v8 |
| 244 | 245 |
| 245 | 246 |
| 246 #undef EXPORT | 247 #undef EXPORT |
| 247 | 248 |
| 248 | 249 |
| 249 #endif // V8_V8_DEBUG_H_ | 250 #endif // V8_V8_DEBUG_H_ |
| OLD | NEW |