From 3a17a2cb435b8c148ff934a5c66619aef0c84388 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Mon, 17 Jun 2024 23:41:32 -0700 Subject: [PATCH] Update debugger.md --- docs/runtime/debugger.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/runtime/debugger.md b/docs/runtime/debugger.md index 530cc6d04fc63a..ed7916c5591e1d 100644 --- a/docs/runtime/debugger.md +++ b/docs/runtime/debugger.md @@ -273,6 +273,8 @@ The `CallSite` object has the following methods: | `getPromiseIndex` | Not implemented yet. | | `toString` | returns a string representation of the call site | +In some cases, the `Function` object may have already been garbage collected, so some of these methods may return `undefined`. + ##### Error.captureStackTrace(error, startFn) The `Error.captureStackTrace` function lets you capture a stack trace at a specific point in your code, rather than at the point where the error was thrown.