Seeing output in MSW

General questions regarding the usage of CodeLite
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

Re: Seeing output in MSW

Post by petah »

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))
Did you try stderr or ANSI C cout/cerr? Could also be wx build flags related.
see MSDN docs around ::OutputDebugString()
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.
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.
Just a thought, but personally I would like all stdout to go to the "Output" tab of the "Output View" pane :)
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 want ;)

cheers,

-- p
main: Debian Jessie x64 + custom wxTrunk
iwbnwif
CodeLite Veteran
Posts: 81
Joined: Thu Mar 21, 2013 1:12 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Seeing output in MSW

Post by iwbnwif »

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 want
Fair point :mrgreen:
Post Reply