m17nDebug(3m17n)
π¦ m17nDebug β bestie edition (from the m17n manual, section 3m17n) π¦
okay so this is m17nDebug from The m17n Library, and it's literally the debug support page. it's giving "your code is misbehaving and you need receipts" energy π
β¨ NAME β¨
m17nDebug_ - Debug - support for m17n library users to debug their programs. that's the whole vibe. it's here to help you, the person writing m17n code, figure out what on earth is going on π«Ά
πΈ SYNOPSIS πΈ
π Functions
MFace * mdebug_dump_face (MFace *face, int indent)β dump a face πMInputMethod * mdebug_dump_im (MInputMethod *im, int indent)β dump an input method πint mdebug_hook ()β hook function called on an error πMText * mdebug_dump_mtext (MText *mt, int indent, int fullp)β dump an M-text π¦MSymbol mdebug_dump_symbol (MSymbol symbol, int indent)β dump a symbol βMSymbol mdebug_dump_all_symbols (int indent)β dump all symbol names π
π Detailed Description π
Support for m17n library users to debug their programs. fr fr, that's the mission statement.
the m17n library provides the following facilities to support the library users to debug their programs. not me handing you a whole toolkit π§°β¨
- Environment variables to control printing of various information to
stderr.MDEBUG_INIT-- if set to1, print information about the library initialization on the call ofM17N_INIT().MDEBUG_FINI-- if set to1, print counts of objects that are not yet freed on the call ofM17N_FINI().MDEBUG_CHARSET-- if set to1, print information about charsets being loaded from the m17n database.MDEBUG_CODING-- if set to1, print information about coding systems being loaded from the m17n database.MDEBUG_DATABASE-- if set to1, print information about data being loaded from the m17n database.MDEBUG_FONT-- if set to1, print information about fonts being selected and opened.MDEBUG_FLT-- if set to1,2, or3, print information about which command of Font Layout Table are being executed. the bigger number prints the more detailed information. πMDEBUG_INPUT-- if set to1, print information about how an input method is running.MDEBUG_ALL-- setting this variable to1is equivalent to setting all the above variables to1. the "select all" of debug flags, iconic behavior, no notes πMDEBUG_OUTPUT_FILE-- if set to a file name, the above debugging information is appended to the file. if set to'stdout', the information is printed tostdout.
- Functions to print various objects in a human readable way. see the documentation of
mdebug_dump_XXXX()functions. π - The hook function called on an error. see the documentation of
mdebug_hook(). π
π Author π
Generated automatically by Doxygen for The m17n Library from the source code. yes bestie, a robot wrote this, we're all just living in its world π€π
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.
lowkey important: those copyright lines and the license grant are the real deal, don't skip them π«Ά
and that's a wrap, bestie!! this page is from Version 1.8.4, dated Mon Sep 25 2023, living its best life in section 3m17n of The m17n Library manual. go debug something iconic β¨π
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms