Simple example code for using PmPrintf. Samples for GCC, IBMC and OpenWatcom included.

Advantages compared to using pmprintf.lib directly
--------------------------------------------------
- you don't need to take care if the system your application runs does have pmprintf.dll installed or not
- you don't need to switch between release builds (without pmprintf loggging) and debug builds (with pmprintf logging and dependency to pmprintf.dll) in your program because overhead is minimal
- you don't need to link the pmprintf.lib to your application
- you only have to look at the very small and simple main.c in the root folder to learn how to use PmPrintf package in your program

How to use
----------
- you need to compile abtrace.c and link together abtrace.obj with your application.
- you need abtrace.h and pmprintf.h reachable for that (included)
- Look at main.c how to use xTRACEF() or xPmprinf() functions in your code. Parameters are the same as with printf().

Project Activity

See All Activity >

Follow PMPrintf_abtrace - OS/2 debug helper

PMPrintf_abtrace - OS/2 debug helper Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PMPrintf_abtrace - OS/2 debug helper !

Additional Project Details

Registered

2024-02-18