NoDebug - stops you stepping through Eachins

BlitzMax Forums/BlitzMax Programming/NoDebug - stops you stepping through Eachins

Czar Flavius(Posted 2010) [#1]
THIS IS AWESOME!

Place NoDebug in linkedlist.bmx, just below Strict, and when stepping through your code it will no longer take you into the annoying EachIn functions, it will just go straight to the next line of your code. I'm going to put it in just about all of the standard modules I think. Most of the time I trust them to work correctly - I don't need to debug them.

The $99 question is - are NoDebug files compiled into Release mode? And therefore much faster too?


beanage(Posted 2010) [#2]
Now how COOL is that! Is that cool, or is that cool?! I think its cool!

I wonder if thats a feature Mark secretly uses and didnt want anybody to find out about, you know, because its too cool to handle..

The $99 question is - are NoDebug files compiled into Release mode? And therefore much faster too?

Quick test:
- brl.map w/o NoDebug:
map.debug.mt.win32.x86.a @ 51 KB
map.release.mt.win32.x86.a @ 13 KB

- brl.map w/ NoDebug:
map.debug.mt.win32.x86.a @ 13 KB
map.release.mt.win32.x86.a @ 13 KB

[Edit:] Thinking about it, I just cant seem to figure out why this is not an official feature, can I?

Last edited 2010