Cannot debug ioslaves

Aleix Pol aleixpol at kde.org
Wed Apr 29 23:00:24 UTC 2015


On Wed, Apr 29, 2015 at 9:33 PM, David Faure <faure at kde.org> wrote:
> On Wednesday 29 April 2015 15:21:58 Aleix Pol wrote:
>> Hi,
>> I was looking into a problem, and ended up in this web page:
>> https://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves
>>
>> After some greps, I realized most of it is gone. Anybody knows what's
>> up with this? And if there's anything we can do to debug an ioslave,
>> anyway?
>
> I don't understand what you think is "gone".
>
> AFAICS it's all still there, as I expected:
>
> src/klauncher/klauncher.cpp:    mSlaveDebug = QString::fromLocal8Bit(qgetenv("KDE_SLAVE_DEBUG_WAIT"));
> src/klauncher/klauncher.cpp:    mSlaveValgrind = QString::fromLocal8Bit(qgetenv("KDE_SLAVE_VALGRIND"));
> src/klauncher/klauncher.cpp:        mSlaveValgrindSkin = QString::fromLocal8Bit(qgetenv("KDE_SLAVE_VALGRIND_SKIN"));
>
> The only thing that seems outdated in sections 1, 2 and 3 is that kdeinit4 is now kdeinit5.
>
> kdebugdialog, on the other hand, is now kdebugsettings in playground, ask Laurent.
> Well, kde_projects.xml to the rescue:
> http://projects.kde.org/projects/kdereview/kdebugsettings
>
> Now that section (How to get debug output) certainly needs an update, for categorized logging instead of kDebug.
>
> --
> David Faure, faure at kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>

My bad, I looked for it in KIO. Also I guess I should have restarted
klauncher for this to work.

I just did it wrong I guess. Sorry for the noise.

Aleix


More information about the Kde-frameworks-devel mailing list