News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Debug library

Started by donkey, January 08, 2005, 08:55:22 PM

Previous topic - Next topic

donkey

I have made an ever so slight tweak to the debug library for RadASM, I have added a switch to turn it off. If DEBUG_OFF is defined in your code (as 1) then the library will not insert any code into your app. It is equivalent to hunting down and deleting all the PrintDec's etc.. but now you can leave them in your source and just comment out the switch and they will all be back when you recompile. In order to maintain compatiblity I had to have the switch set in order to turn it off, that way there is no effect on anything you might have done up to now. I have included a new debug.a file in the RadGoAsm.zip archive that has the change. You can just download that archive from my site and extract the debug.a file, it goes in "\RadASM\GoAsm\inc".

Note that in order to turn on the debug, you must completely comment out the DEBUG_OFF = 1 line !! DEBUG_OFF = 0 has unexpected behaviour.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable