Skip to content

Delayed debug output #444

Open
Open
@jkavalec

Description

@jkavalec

When I use dprintf statement to output some debug information, this is always delayed.

Example:

  • have debug statement right before tap_code16()
  • I press the action
  • In QMK toolbox I immediately see that some keys were pressed (via those matrix outputs, that I would like to disable and see only my debug statements, but that is another matter)
  • Keyboard issues the command and I see it in my editor immediately
  • since the tap_code16 was already executed, I would expect my debug statement being printed immediately, this is sadly not so
  • I then bash keyboard randomly and sometimes sooner sometimes later , 2-10 presses I'd say, the print statement finally shows in the Toolbox

What could be the problem? I had this happening on both Mac and Windows, (ATmega32U4 Board) and it makes debugging pretty hard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions