promotional bannermobile promotional banner

LibPrettyPrint

LibPrettyPrint is a lightweight utility library for readable, safe table inspection and debugging in World of Warcraft.

LibPrettyPrint

Because staring at raw Lua tables shouldn’t hurt in World of Warcraft.

Who is this for?

Intended for addon developers who want safer, more readable debug output during development.

Description

LibPrettyPrint is a lightweight utility library for readable, safe table inspection and debugging in World of Warcraft. It pretty-prints Lua values with configurable depth limits, key sorting, and flexible formatting, safely handles cyclic tables, and is designed for development and debugging use without impacting runtime performance.

Based on jagt/pprint.lua, which is itself a reimplementation of inspect.lua. Adapted and extended for World of Warcraft.

Quick Start Guide - Usage & Examples

Interface Definition File

Defines the public API and type annotations.

Example

--- @type LibPrettyPrint_Printer
local p = LibPrettyPrint:Printer({
  prefix = "MyAddOn",
})

p("Entering...")
-- Output:
-- [Timestamp] {{MyAddOn}}: Entering

See Github Project For Usage

License

The Unlicense

[1]: https://github.com/jagt/pprint.lua [2]: https://github.com/kikito/inspect.lua [3]: https://unlicense.org

Donations

As a software engineer, I am passionate about this project and have dedicated a significant amount of time and effort to creating a high-quality product. If you enjoy using this World of Warcraft add-on, please consider supporting me through a donation via Paypal™ or the Bitcoin Address provided below. Your support is greatly appreciated. Thank you in advance for your generosity.

The LibPrettyPrint Team

profile avatar
  • 11
    Projects
  • 277.4K
    Downloads

More from kapresoftView all

  • DevSuite Development Tool project image

    DevSuite Development Tool

    • 1.9K
    • Addons

    DevSuite is a developer tool suite for the World of Warcraft

    • 1.9K
    • May 6, 2026
    • Addons
    • +1
  • Gears Equipment Set Manager project image

    Gears Equipment Set Manager

    • 45.5K
    • Addons

    A lightweight World of Warcraft addon that lets players quickly save, manage, and switch between gear sets to adapt to different roles, specs, and gameplay situations with ease.

    • 45.5K
    • May 1, 2026
    • Addons
    • +4
  • LibIconPicker project image

    LibIconPicker

    • 29.4K
    • Addons

    LibIconPicker is a reusable load-on-demand library that provides a flexible icon chooser dialog with callback support for addon developers.

    • 29.4K
    • April 28, 2026
    • Addons
    • +4
  • DebugChatFrame project image

    DebugChatFrame

    • 2.0K
    • Addons

    DebugChatFrame is an on-demand library addon designed for WoW addon developers. It provides a dedicated chat frame for sending debug statements, simplifying development and troubleshooting.

    • 2.0K
    • April 23, 2026
    • Addons
  • DevSuite Development Tool project image

    DevSuite Development Tool

    • 1.9K
    • Addons

    DevSuite is a developer tool suite for the World of Warcraft

    • 1.9K
    • May 6, 2026
    • Addons
    • +1
  • Gears Equipment Set Manager project image

    Gears Equipment Set Manager

    • 45.5K
    • Addons

    A lightweight World of Warcraft addon that lets players quickly save, manage, and switch between gear sets to adapt to different roles, specs, and gameplay situations with ease.

    • 45.5K
    • May 1, 2026
    • Addons
    • +4
  • LibIconPicker project image

    LibIconPicker

    • 29.4K
    • Addons

    LibIconPicker is a reusable load-on-demand library that provides a flexible icon chooser dialog with callback support for addon developers.

    • 29.4K
    • April 28, 2026
    • Addons
    • +4
  • DebugChatFrame project image

    DebugChatFrame

    • 2.0K
    • Addons

    DebugChatFrame is an on-demand library addon designed for WoW addon developers. It provides a dedicated chat frame for sending debug statements, simplifying development and troubleshooting.

    • 2.0K
    • April 23, 2026
    • Addons