Debug Output Window
in Propeller 2
Is there a way to capture text in the debug output window on the P2? With the old PST I could page up the window, or copy text and paste. I found this pretty invaluable for capturing everything in a program cycle.
Comments
You can set this symbol to how big you want the data capture to be:
DEBUG_LOG_SIZE 'Sets the maximum size of the 'DEBUG.log' file which will collect DEBUG messages. A value of 0 will inhibit log file generation.
What unit is used for the size, kb?
Just bytes.
DEBUG_LOG_SIZE = 1_000_000 '1MB
What might be handy at some point is to be able to redirect the DEBUG data to go through SEND instead of only serial (maybe selectable in the CON block like its other options) then for standalone systems another COG could also intercept this debug information and present it in some similarly useful format (eg. in a graphics/text display).