idf-eclipse-plugin
idf-eclipse-plugin copied to clipboard
JTAG debugging: dynamic printf breakpoints or printf output in JTAG console (IEP-339)
Hello everyone,
I found that redirecting the serial console output to the host using JTAG only should be possible in general: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/app_trace.html#logging-to-host I haven't tried that method yet. That works with a python script that reads out the logging data when called. Seems that this happens offline.
Is it possible to have live logging while in the debug session? If a printf statement is hit it is immediately printed in the openocd/JTAG console?
Related: I found that dynamic printf breakpoints can be set using the plugin but they don't work. They don't print something when they were hit. This might be a separate issue but before creating the relation to this topic should be discovered. Perhaps they can be solved with the same solution.