[patch] add KDE_SLAVE_DEBUG_POPUP support for KIO slave debugging (windows only)

Ralf Habacker ralf.habacker at freenet.de
Wed Feb 6 16:18:39 GMT 2008

Jarosław Staniek schrieb:
> For review:
> A workaround for OSes where DebugBreak() does not work in 
> administrative mode (actually Vista with msvc 2k5) - display a native 
> message box so developer can attach the debugger to the KIO slave 
> process and click OK.
> The patch allows to use
>  set KDE_SLAVE_DEBUG_POPUP=protocol
> instead of
>  set KDE_SLAVE_DEBUG_WAIT=protocol
> to get the popup for any version of msvc and any windows version.
> As no DebugBreak() is the executed in "KDE_SLAVE_DEBUG_POPUP" mode, 
> depending on the actual needs, user can just click OK without 
> attaching, and continue using the KIO slave.
> You can find more info on the sourece of the problem in "Note (Vista 
> only)" section of [1].
> [1] 
> http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_on_MS_Windows#Debugging_kioslaves 
Jaroslav, would it be possible to detect the affected operation system 
version automatically and to display the popup without introducing a new 
environment variable ?


More information about the kde-core-devel mailing list