Not willing to mod my Deluge, but eager to debug with log prints #23
Replies: 6 comments 1 reply
-
From what I gathered from the Q&A, this would probably be the best starting point. I'm primarily a frontend developer with a bit of experience working with midi on MCUs. Off the top of my head it should be relatively simple to create a electron app to pretty print any debug info from sysex messages. |
Beta Was this translation helpful? Give feedback.
-
Debug prints can be done via UART out of the midi port. They'll probably show up in a midi reader if you have every possible message type enabled, but they'd be pretty meaningless. The simplest method might be to get a USB UART device and then connect it with a midi breakout adapter |
Beta Was this translation helpful? Give feedback.
-
Also to enable UART you set HAVE_RTT to 0 in the preprocessor options |
Beta Was this translation helpful? Give feedback.
-
While I support this idea (if only because serial over midi seems pretty cool ;) ) it does need to be said that logging output is just a fractional part of what a debugger can provide. Access to registers, memory, and code execution flow are the big components that midi serial just isn't going to be able to replicate. |
Beta Was this translation helpful? Give feedback.
-
still the best tool to filter, analyse whats going on https://www.snoize.com/midimonitor/ |
Beta Was this translation helpful? Give feedback.
-
Completed via dbt midi logging or Bfredl's web app |
Beta Was this translation helpful? Give feedback.
-
I would not like to mod my Deluge, but still would want to somehow debug what I am developing. I saw in the docs mentioned that there was some kind of log printing happening on the MIDI port. Is it possible or will be possible soon to print logs through the MIDI port and get some kind of Windows app (or terminal app) to read them and print them? This would make debugging without modding possible, as by adding log prints in the code that are sent through MIDI (maybe sysex messages?) we can have visibility of what is going on
Beta Was this translation helpful? Give feedback.
All reactions