neurocod / DbgMsgBox

Standalone Qt app that shows message box from it's command line, allows copy text and formats json.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debug message box

Suppose you want to show message box for debug reason, and either

  1. you have console app without GUI
  2. your GUI app does not allow to copy text from message boxes
  3. your GUI app does not format json in message box

Then all you need is:

  1. build this solution (to create executable which will be launched)

  2. #include msgBox.h in your project or copy function from it (named msgBox)

  3. Maybe modify path to your build location (or add it to path) and then use it, something like:

    msgBox(R"({"name":"param1","param2":6,"arr":[1, 2, 3]})");

This will display:

Plain text with original input: image

Detected json:

image

BSD license

About

Standalone Qt app that shows message box from it's command line, allows copy text and formats json.

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 98.5%Language:C 1.5%