Howto see kDebug messages from apps

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sat Dec 22 17:37:48 CET 2007


Andreas Pakulat schrieb:
> On 22.12.07 17:14:47, Christian Ehrlicher wrote:
>> Andreas Pakulat schrieb:
>>> Hi,
>>>
>>> according to:
>>> http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_on_MS_Windows
>>>
>>> I shhould be able to see all the kDebug() messages from all kde apps
>>> when running debugview. However I only seem to be able to get a few Qt
>>> messages, none of those that are printed by kdevelop for example.
>>>
>>> Is there anything I need to setup in Debugview to make this work? I
>>> did compile Qt and all KDE4 stuff in Debug mode and kdebugdialog also
>>> shows almost all areas activated
>>>
>> This looks like a mingw problem. All debug output is printed with
>> OutputDebugMessage(). Maybe this is not true for mingw?
> 
> What does Qt do? I get the Qt messages as far as I can see, but none of
> the kde messages. Where do I start searching? Google didn't turn up
> anything about mingw and OutputDebugMessage
> 
Sorry, it was OutputDebugString:
http://msdn2.microsoft.com/en-us/library/aa363362.aspx

See kkernel_win.cpp:186


HTH
Christian



More information about the Kde-windows mailing list