drkonqi integration

Christoph Roick chrisito at gmx.de
Sat Jul 27 19:25:16 BST 2024


To avoid some confusion:

It's not about removing debugging from KDevelop. There used to be a button in
DrKonqi that would allow you to attach a crashed application to a new debug session
in one of the running KDevelop sessions (depending on which debuggers are set up,
gdb and lldb in my case) or, if enabled in the DrKonqi configuration, directly to one of
the installed debuggers. By default the button was only displayed if KDevelop was
runnning or you started KDevelop while the crash window was being displayed.

There are some screenshots in this discussion: https://phabricator.kde.org/D11234[1]

Am Samstag, 27. Juli 2024, 17:19:54 MESZ schrieb Neko-san:
> As in, the DrKonqi backtrace collection button or the Kdevelop debugger?
>
> I lurk in the mailing list a bit and, as an end user, I did frequently use the DrKonqi button to save backtraces so I could possibly report them later. And as someone currently trying to learn C, if you meant remivung a button to use GDB in Kdevelop, I'd just drop Kdevelop entirely (as a user) because Kdevelop already throws me a few frustrations as an IDE (on Gentoo) and I just wouldn't tolerate an IDE without an included debugger. That's just my two-cents though, to answer your question... Not entirely sure if I did adequately, though.
>
>
> -------- Original Message --------
> On 7/27/24 8:02 AM, Christoph Roick <chrisito at gmx.de> wrote:
>
> >  Am Freitag, 26. Juli 2024, 17:40:02 MESZ schrieb Igor Kushnir:
> >  > On 2024-07-25 12:11 PM, Harald Sitter wrote:
> >  > > Yo
> >  > >
> >  > > there is this pile of code that lets kdevelop interface with drkonqi
> >  > > to hand over the debugging from drkonqi into kdevelop. it currently
> >  > > has no UI backing in 6 and also doesn't really work with the default
> >  > > coredumpd-based crash handling
> >  > >
> >  > > I am wondering how sad we would be if we just threw away the code?
> >  > >
> >  > > At a glance we could remove
> >  > >
> >  > > - the entire socket tech in kcrash
> >  > > https://invent.kde.org/frameworks/kcrash/-/blob/master/src/kcrash.cpp?ref_type=heads#L799
> >  > > - the external debugger tech in drkonqi
> >  > > https://invent.kde.org/plasma/drkonqi/-/blob/master/src/debuggerlaunchers.h?ref_type=heads
> >  > > - dbus interaction code in kdevelop
> >  > > https://invent.kde.org/kdevelop/kdevelop/-/blob/master/plugins/debuggercommon/midebuggerplugin.cpp#L135
> >  > >
> >  > > HS
> >  >
> >  > Hi everyone!
> >  >
> >  > Adding the author of the most recent work on this integration:
> >  > https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/202
> >  >
> >  > Christoph, would you like to fix the DrKonqi integration again, now or in the
> >  > future? If you don't have motivation or time for this, before removing it all,
> >  > we need to consider how difficult fixing the integration will be and how often
> >  > it is used. As the integration only broke recently, perhaps wait for bug reports
> >  > about it against KDevelop 6.0?
> >  >
> >  > Cheers,
> >  > Igor
> >
> >  Hi,
> >
> >  Actually the button that featured launching the debugger does not show up,
> >  since QML is put in place for DrKonqi. That's the case for some time now.
> >  Should be effective since commit 61e4560e (grand qml UI rewrite) from '22.
> >  If anybody missed the button, there should have been bug reports already.
> >
> >  I liked investigating crashes quickly when they appeared, but lost the motivation
> >  to do so since the button was gone. I think only a handful of people (maybe just
> >  me) used the feature however. So cleaning that up would probably be the better
> >  choice to reduce complexity. Especially considering the effort it takes to revive
> >  the feature (together with the opt-in gdb debug possibility that nobody knows
> >  about).
> >
> >  Rephrasing Haralds question: Would anybody in this mailing list like to see the
> >  button again?
> >
> >  Best regards
> >  Christoph

--------
[1] https://phabricator.kde.org/D11234
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20240727/d637b579/attachment-0001.htm>


More information about the KDevelop-devel mailing list