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
{{ message }}
Repository navigation
Can we get Snapshot with javascript file references #79
Hi ,
Can we get snapshots with java script file references ?
Actually I am successfully able to execute the scenario but not able to get java script file reference in that as shown in the screen shot.
Chrome DevTools is able to provide the code link as it utilizes the scriptId number associated with each heap snapshot's closure instance. This scriptId serves as a reference for the JavaScript source code that is loaded into Chrome's memory, enabling DevTools to access and query the source code using this key. However, Chrome does not serialize the mapping information tied to the scriptId to disk. As a result, MemLab is unable to retrieve the mapping data related to scriptId for now.
Maybe Chrome DevTools protocol can provide an interface for querying script based on scriptId.
Activity
JacksonGL commentedon Jun 9, 2023
Chrome DevTools is able to provide the code link as it utilizes the scriptId number associated with each heap snapshot's closure instance. This scriptId serves as a reference for the JavaScript source code that is loaded into Chrome's memory, enabling DevTools to access and query the source code using this key. However, Chrome does not serialize the mapping information tied to the scriptId to disk. As a result, MemLab is unable to retrieve the mapping data related to scriptId for now.
Maybe Chrome DevTools protocol can provide an interface for querying script based on scriptId.
chore(deps): Bump source-map-js from 1.2.1 to 1.2.2 in /website (#161)