dprintf

Set a dynamic printf at specified line or function.

dprintf LOCATION,"FORMAT",[ARG1],[ARG2],...

  • LOCATION may be a line number, function name, or “*” and an address.

    • If a line number is specified, break at start of code for that line.
    • If a function is specified, break at start of code for that function.
    • If an address is specified, break at that exact address.

    See “help break” for a full description of what “LOCATION” stands for.

  • FORMAT controls the output as in C printf.

  • ARG1,… optional expressions separated by commas.

Do “help breakpoints” for info on other commands dealing with dprintf.