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

Jarosław Staniek js at iidea.pl
Wed Feb 6 15:34:34 CET 2008


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

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: KDE_SLAVE_DEBUG_POPUP.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20080206/524418d9/attachment.ksh 


More information about the Kde-windows mailing list