KDevelop debugger fails
Sergey Vidyuk
sir.vestnik at gmail.com
Mon Aug 15 02:53:21 UTC 2011
On Mon, Aug 15, 2011 at 4:19 AM, Maciek Zarzycki <zarzych at gmail.com> wrote:
> Hi,
>
> I'm working on a pimimport utility to dump/import akonadi resources. It was
> part of my gsoc task in 2010 and I'm getting back to it now.
>
> The problem is, that when I step into a specific function (details in repro
> steps below), the debugger stops as soon as I step from the opening brace
> line to the first line of the function. There are
> no
> messages printed in .xsession_errors or debugging toolview in kdevelop.
>
> REPRO STEPS:
> -- Set up repository
> 1. git clone git at git.kde.org:kdepim
> 2. git branch pimimport origin/gsoc_pimimport
> 3. git checkout pimimport
> -- Import project into KDevelop
> 4. open kdevelop
> 5. import project $repo_root/CMakeLists.txt
> 6. open project preferences and set 'pimimport' as default make target
> 7. build project
> 8. create debug launch for pimimport target
> -- Debug and observe problem
> 9. open file $repo_root/pimimport/resourcedumpjob.cpp
> 10. set breakpoint at line 19 (opening brace of ResourceDumpJob::start() )
> 11. start debugging - pimimport window is shown
> 12. click the '...' button next to 'Path' input
> 13. create a new directory and select it
> 14. click 'Next'
> 15. check combobox next to any resource in the grid
> 16. click 'Finish' - our breakpoint is hit
> 17. click 'Step Over'
>
> ACTUAL RESULT:
> The debug session terminates and pimimport is terminated.
>
> EXPECTED RESULT:
> The debug session continues.
>
> I've tried running pimimport in gdb and the problem doesn't show there.
>
> Could you help me diagnose this issue? I'll be happy to provide you any
> help you may need.
>
> Thanks,
> Maciek
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
Yesterday I have the same behaviour on the kdevelop sources themself. Trying
to "step over" on line 650 "kDebug(9042) << "parse:" << folder->url();"
caused debugger session termination several times. I haven't tried to run
debugging under raw gdb. I'm using kdevelop kompiled from git master.
--
Sergey Vidyuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110815/5e7d2464/attachment.html>
More information about the KDevelop-devel
mailing list