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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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