Can we get Snapshot with javascript file references
rupesh1306 opened this issue · 1 comments
rupesh1306 commented
JacksonGL commented
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.