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.