facelessuser/Rummage

Debug mode is broken unless --no-redirect is enabled

Closed this issue · 0 comments

For some reason in the GUI, we have an issue where debug mode will cause the app to crash.

We override DoLogText and call the original after. I can recall why as I haven't touched that area in forever, but it seems now when we are redirecting to the GUI window, this causes us to crash. We override so that we can also dump it into the log file. It seems when we remove the call to the original DoLogText, it all works again. Before removing this, --no-redirect (non-GUI) doesn't fail. After removing DoLogText, nothing fails.

The obvious answer is to just remove the call to the original DoLogText. I'll need to investigate to be sure there are no side effects.