BMax 1.45 - Release mode will glitch or crash.
Archives Forums/BlitzMax Bug Reports/BMax 1.45 - Release mode will glitch or crash.
| ||
Type mytype Field a$="You're running this in debug mode, aren't you?" Method methodfunction() Function thefunction() Print a End Function thefunction() End Method End Type Local test:mytype = New mytype test.methodfunction() This displays a short glitchy string for me. Calling a method rather than a value/string field will generate an exception. I'm working around with this, just in case: Function thefunction(myself:mytype) Print myself.a End Function thefunction(Self) Last edited 2012 |
| ||
. Last edited 2012 |
| ||
This has actually been a known bug for 4 years |
| ||
^ Oh dang. Well that's surprising, that glitch is getting really old O_o The real problem here is that trying out this tactic without knowing there is something wrong there will force you to figure out by yourself what's going on manually because not only this won't tell you where it's crashing, but debug mode will also accept it as if there was no error most of the time. As for my story behind this, I programmed this and many others functions as well and enabled debug to make sure i wasn't doing anything wrong, a day later I decided to remove it to check speed performance and this is how it happened :P |