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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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