January 21, 2021, 02:41:59 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Gallery
Login
Register
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
Miscellaneous
»
[bmx] GC Debug output by tonyg [ 1+ years ago ]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [bmx] GC Debug output by tonyg [ 1+ years ago ] (Read 1483 times)
BlitzBot
Jr. Member
Posts: 1
[bmx] GC Debug output by tonyg [ 1+ years ago ]
«
on:
June 29, 2017, 12:28:43 AM »
Title :
GC Debug output
Author :
tonyg
Posted :
1+ years ago
Description :
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...
Code :
Code: BlitzMax
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...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
Miscellaneous
»
[bmx] GC Debug output by tonyg [ 1+ years ago ]
SimplePortal 2.3.6 © 2008-2014, SimplePortal