Debug statement creator.
GitHub Repository: lxhom/schule-cppdebugger Just paste a C++ Statement or a list of vars in here and get debug statements.
Click on any code block to copy it.
Before submitting a bug report please check that you use correct C/C++ syntax or a seperated list. If you try to parse 4unction[%) and it just gives you nothing it's probably because the syntax is messed up.
Use [PREFIX1]$[PREFIX2]$[...]$[PREFIXn]$[CPP STATEMENT] to get multiple debug statements with prefixes.
$[STATEMENT] for no prefix. Default is a 'Before: ' and a 'After: ' prefix.
Example:
BFOR: $AFTR: $position = position * variable
evaluates to this:
[Click here to generate]


Input:


Options:
Allow function invocations (fn()) Allow filled parantheses (fn(arg))
Allow arrows (->) Allow special chars (default a-zA-Z0-9()[])
Allow duplicates (e.g. var,otherVar,var) Allow C/C++ keywords (e.g. for)

Use #include <stdio.h> at the top of your program to use the statements.

Output goes here...