Please note, this is a STATIC archive of website from 03 Nov 2016, does not collect or store any user information, there is no "phishing" involved.


This article needs a technical review. How you can help.

This article covers features introduced in SpiderMonkey 17

Enumerate memory regions that contain diagnostic information..


JS_EnumerateDiagnosticMemoryRegions(JSEnumerateDiagnosticMemoryCallback callback);
Name Type Description
callback JSEnumerateDiagnosticMemoryCallback Pointer to the new callback function to use.

Callback syntax

typedef bool
(* JSEnumerateDiagnosticMemoryCallback)(void *ptr, size_t length);
Name Type Description
ptr void * Pointer to the allocated memory.
length size_t Length of the allocated memory.


JS_EnumerateDiagnosticMemoryRegions enumerates memory regions that contain diagnostic information intended to be included in crash report minidumps.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,