GCSetmode 4

BlitzMax Forums/BlitzMax Programming/GCSetmode 4

tonyg(Posted 2006) [#1]
Has GCSetmode 4 been removed?
It used to output debug messages but doesn't seem to do so any more.
<edit> Seems this works...
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)



Grisu(Posted 2006) [#2]
What is mode 4? Self-destruction?


tonyg(Posted 2006) [#3]
It outputs debug messages such as how long GC took, how much mem was released etc.