Code archives/Miscellaneous/GC Debug output
This code has been declared by its author to be Public Domain code.
Download source code
| |||||
GCSetMode 4 seems to have been removed at 1.22. This can activate the GC debug mode and outputs messages with GCCollect(). Not sure how useful they are but there you have it... | |||||
Extern Function bbGCSetDebug(mode:Int) EndExtern Type test Field x:Int=5 EndType 'GCSetMode 4 Local mytest:test=New test bbGCSetDebug(1) Print GCCollect() Print GCMemAlloced() DebugLog(mytest.x) |
Comments
None.
Code Archives Forum