[Kde-pim] Re: Review Request: A developper needs more time to debug an agent.

Guy Maurel guy-kde at maurel.de
Sun Jun 5 15:40:19 BST 2011



> On June 5, 2011, 9:45 a.m., Alexander Potashev wrote:
> > Raising default timeouts may lead to longer hangs when something hangs forever, and the client waits for the whole period of the timeout.

only the developper had set the variable AKONADI_DEBUG_WAIT. The user not.


- Guy


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101507/#review3679
-----------------------------------------------------------


On June 4, 2011, 5:43 p.m., Guy Maurel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101507/
> -----------------------------------------------------------
> 
> (Updated June 4, 2011, 5:43 p.m.)
> 
> 
> Review request for KDEPIM-Libraries and Volker Krause.
> 
> 
> Summary
> -------
> 
> The informations at:
>   http://techbase.kde.org/Projects/PIM/Akonadi/Development_Tools
>   "Attaching gdb at startup"
> 
> are not sufficiant to debug an agent, because of timeout after the default of 10 seconds.
> 
> Such as "Running an agent in valgrind", the creator of an agent needs to wait longer
> before raising a timeout. If you are a developper, you probably need more time to start
> a debugger, set some breakpoints, and some more actions.
> 
> I propose to use a default value of 150 seconds (the same as "valgrinding") and the option
> to set the value with the environment variable AKONADI_DEBUG_TIMEOUT (value in millisecond).
> 
> 
> Diffs
> -----
> 
>   akonadi/agentinstancecreatejob.cpp 01d04c2 
> 
> Diff: http://git.reviewboard.kde.org/r/101507/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guy
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list