We use the heap profiling tool in Chrome to try to find and fix memory leaks in our chrome application.
It is quite un-convenient to trigger the the heap dumps from the UI, and would be so much easier to do from javascript. Also, it would allows us to do it at a specific execution time.
Is there any way to trigger them from javascript? Or at least halt the javascript execution from javascript so that we can then trigger the heap dump at the perfect time?