I recently worked on an embedded C / C ++ project using a shell in Tornado 2 to debug what happens in our bundle. The only problem with this approach is that it is a complex system and, as a result, has a fair bit of output. “Solemnly“ Tornado ”scrolls the window every time some new information arrives, which means that if you notice an error, it will quickly disappear from the place to see it. Each time you scroll up to see, the system adds an extra information, so the only way to view it is to turn off the hardware.
I would like to know if anyone has a way to redirect output from Tornado?
I was hoping there might be a way to register all of this from a small python application so that I can apply filters to incoming information. I tried to connect to the Tornado process, but the info window is not standard CEditCtrl, so extracting text this way is a dead end.
Any ideas anybody?
[Edit] I should have mentioned that we only work with Tornado 2.1.0, and upgrading to a later version is beyond my control.
[Edit2] The window in Tornado is "AfxFrameOrView42" according to WinID.
source
share