debugging

new topic     » goto parent     » topic index » view thread      » older message » newer message

It would be good if we could be able to find out if type_check is on or off,
like a debug variable.
something like:
if type_check then
  ... do debugging checks
end if

Also, assert() statement would be usefull:

assert (debug_function ())

if type_check would would be on above statement would be evaluated
else it would get skipped and also debug_function () wouldnt be executed.
I use my own assert () procedure but will have to write preprocessor to
remove assert() calls if I want maximal speed.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu