Slimelite BBS

debuglib.lha

Back to debug

Debugging linked library.

Size
2.4K (2,418 bytes)
Added
2026-11-20 02:43
Downloads
3
Long Description
Description: This is a (very :) small linked library in the object format for use when debugging exec shared libraries, devices or anything where you can't use normal stdio functions. The library is intended for C programmers. With the library you can open one or more simple console windows and print formated text strings with some stdio-like functions. So what good is this you ask? It is very hard to debug libraries because it is illegal to call dos.library functions from within a library and you can't use your compilers source-level debugger either. Therefore you can't know why your library fails if it has an error. This linked library uses exec's RawDoFmt() and graphic.library's Text() to output to a normal intuition window. This is a fairly safe way to output simple variable values and other text.