Did you try stderr or ANSI C cout/cerr? Could also be wx build flags related.iwbnwif wrote:The problem with the following is that in MSW stdout doesn't appear to go anywhere (under Windows 8 at least).
Code: Select all
new wxLogChain(new wxLogStderr(stdout))
Ah, that may be a low-level MS hack that works only in VisualStudio. Also check the implementation of ::wxIsDebuggerRunning(); it doesn't seem to pick up GDB in all cases.Thank you for this tip. I tried this but also the output seems to go nowhere, even if I set debugevents as it suggests in the gdb manual.see MSDN docs around ::OutputDebugString()
Feel free to implement it yourself; once you're setup you'll have only yourself to blame and will quickly realize which features you really wantJust a thought, but personally I would like all stdout to go to the "Output" tab of the "Output View" pane
cheers,
-- p