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

JS_EnumerateDiagnosticMemoryRegions

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..

Syntax

void
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.

Description

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,