Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you take a heap snapshot with Safari's Web Inspector?

Chrome has a 'Take Heap Snapshot' action in the 'Profiles' tab of its dev tools. For the life of me I can't find an equivalent feature in the Safari Web Inspector (I've looked in both Safari and WebKit).

Is this feature simply not available? If that's the case, is there any alternative for taking a heap snapshot of a WebView in an iOS app?

like image 697
netnichols Avatar asked Oct 22 '22 08:10

netnichols


1 Answers

Safari uses JSC as the Javascript engine and as far as I know it has no support for heap snapshots.

like image 135
loislo Avatar answered Oct 24 '22 01:10

loislo