You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying to debug some scripts, I found that scripts run with Evaluate or Execute discard option set to true always pollute the <node internals> section of Visual Studio Code while debugging.
the only difference between discarded and not discarded scripts is that discarded scripts has "[temp]" add to them.
follows an image with the <node internals> section of Visual Studio Code
The text was updated successfully, but these errors were encountered:
This behavior is by design, going back to a time when ClearScript only supported Windows script engines. Back then discard had more of an effect, as temporary scripts would disappear from the debugger user interface after execution.
V8 and modern debuggers don't honor discard, but the "[temp]" suffix remains. Is that a serious issue for you?
It's not a serious issue, because using Invoke the <node internals> section of Visual Studio Code is not polluted with the calls to functions (that in my case are hundreds).
However, I think you should update the API documentation of Evaluate and Execute because both contain the phrase
Discarding this document removes it from view but has no effect on the script engine
which is no longer aligned to V8 and modern debuggers.
…Hub Issue #160); fixed 64-bit V8 initialization on Azure App Service (GitHub Issue #166); enabled DirectAccess for ComVisible .NET objects (GitHub Issue #161); added ScriptEngine.ExposeHostObjectStaticMembers (GitHub Issue #152); added ScriptEngine.UndefinedImportValue and made Undefined.Value public (GitHub Issue #154); enhanced ExtendedHostFunctions.typeLibEnums to pull in external enumerations; added thread affinity enforcement in WindowsScriptEngine.Dispose; eliminated KeyNotFoundException when checking for system documents (GitHub Issue #169); enabled the use of the application's root folder as a backup for its local data folder (GitHub Issue #171); reduced minimum CPU profile and heap size sampling intervals to 125 ms; updated deployment and API documentation, resolving GitHub Issues #158 and #159. Tested with V8 8.1.307.28.
trying to debug some scripts, I found that scripts run with Evaluate or Execute
discard
option set totrue
always pollute the<node internals>
section of Visual Studio Code while debugging.the only difference between discarded and not discarded scripts is that discarded scripts has "[temp]" add to them.
follows an image with the
<node internals>
section of Visual Studio CodeThe text was updated successfully, but these errors were encountered: