|
|
jsdebug
jsdebug module
jsdebug module
home > JSLibs > jsdebug -![]()
Description
Static functions
- Locate( nFrame );
Returns the current script name and line number. nFrame is the number of stack frames to go back (0 is the current stack frame).
- DumpHeap( [ filename [, startThing [, thingToFind [, maxDepth [, thingToIgnore] ] ] ] ] )
This function in only available in DEBUG mode.
- DumpStats( [ filename [, type [, ...] ] ] )
type: 'gc' | 'arena' | 'atom' | 'global' | variable
- TraceGC( [ filename ] )
- Trap( ??? )
- Untrap( ??? )
- LineToPC( ??? )
- PCToLine( ??? )
Static properties
- gcMallocBytes
- gcBytes
- currentMemoryUsage
- peakMemoryUsage
- privateMemoryUsage
Sign in to add a comment

