OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 8170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8181 * Set verbosity of the external exception handler. | 8181 * Set verbosity of the external exception handler. |
8182 * | 8182 * |
8183 * By default, exceptions that are caught by an external exception | 8183 * By default, exceptions that are caught by an external exception |
8184 * handler are not reported. Call SetVerbose with true on an | 8184 * handler are not reported. Call SetVerbose with true on an |
8185 * external exception handler to have exceptions caught by the | 8185 * external exception handler to have exceptions caught by the |
8186 * handler reported as if they were not caught. | 8186 * handler reported as if they were not caught. |
8187 */ | 8187 */ |
8188 void SetVerbose(bool value); | 8188 void SetVerbose(bool value); |
8189 | 8189 |
8190 /** | 8190 /** |
| 8191 * Returns true if verbosity is enabled. |
| 8192 */ |
| 8193 bool IsVerbose() const; |
| 8194 |
| 8195 /** |
8191 * Set whether or not this TryCatch should capture a Message object | 8196 * Set whether or not this TryCatch should capture a Message object |
8192 * which holds source information about where the exception | 8197 * which holds source information about where the exception |
8193 * occurred. True by default. | 8198 * occurred. True by default. |
8194 */ | 8199 */ |
8195 void SetCaptureMessage(bool value); | 8200 void SetCaptureMessage(bool value); |
8196 | 8201 |
8197 /** | 8202 /** |
8198 * There are cases when the raw address of C++ TryCatch object cannot be | 8203 * There are cases when the raw address of C++ TryCatch object cannot be |
8199 * used for comparisons with addresses into the JS stack. The cases are: | 8204 * used for comparisons with addresses into the JS stack. The cases are: |
8200 * 1) ARM, ARM64 and MIPS simulators which have separate JS stack. | 8205 * 1) ARM, ARM64 and MIPS simulators which have separate JS stack. |
(...skipping 1878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10079 */ | 10084 */ |
10080 | 10085 |
10081 | 10086 |
10082 } // namespace v8 | 10087 } // namespace v8 |
10083 | 10088 |
10084 | 10089 |
10085 #undef TYPE_CHECK | 10090 #undef TYPE_CHECK |
10086 | 10091 |
10087 | 10092 |
10088 #endif // INCLUDE_V8_H_ | 10093 #endif // INCLUDE_V8_H_ |
OLD | NEW |