File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1511,6 +1511,8 @@ class V8_EXPORT StackTrace {
1511
1511
/**
1512
1512
* Flags that determine what information is placed captured for each
1513
1513
* StackFrame when grabbing the current stack trace.
1514
+ * Note: these options are deprecated and we always collect all available
1515
+ * information (kDetailed).
1514
1516
*/
1515
1517
enum StackTraceOptions {
1516
1518
kLineNumber = 1,
@@ -1539,7 +1541,7 @@ class V8_EXPORT StackTrace {
1539
1541
/**
1540
1542
* Returns StackTrace as a v8::Array that contains StackFrame objects.
1541
1543
*/
1542
- Local<Array> AsArray();
1544
+ V8_DEPRECATED("Use native API instead", Local<Array> AsArray() );
1543
1545
1544
1546
/**
1545
1547
* Grab a snapshot of the current JavaScript execution stack.
@@ -1549,9 +1551,7 @@ class V8_EXPORT StackTrace {
1549
1551
* StackFrame.
1550
1552
*/
1551
1553
static Local<StackTrace> CurrentStackTrace(
1552
- Isolate* isolate,
1553
- int frame_limit,
1554
- StackTraceOptions options = kOverview);
1554
+ Isolate* isolate, int frame_limit, StackTraceOptions options = kDetailed);
1555
1555
};
1556
1556
1557
1557
You can’t perform that action at this time.
0 commit comments