process list for debugger attaching

Aleix Pol aleixpol at
Wed Sep 14 15:53:37 UTC 2016

On Wed, Sep 14, 2016 at 5:41 PM, René J.V. Bertin <rjvbertin at> wrote:
> Hi,
> Now that KDevelop has a interfaces to both gdb and lldb it can be used for debugging on OS X too. YMMV, but I find it often more efficient to attach a debugger to complex GUI applications once they're all started up and ready to go, and this is not possible on when libksysguard doesn't support the platform.
> I've spent some time implementing minimal support for OS X in that library, so that at least KDevelop can get a list of processes to attach to:
> It's not trivial at all though, and since OS X already has a several very nice utilities that provide similar functionality as ksysguard I see little reason spend more time than necessary on that library.
> I had a look at how Qt Creator handles the problem, and its solution is dead simple: just use ps, and let the user refresh the list if required. I used the same approach as a fallback in my lksysguard patch.
> But what if we do as Qt Creator, at least on platforms where libksysguard is known not to work (reliably)?
> I presume that would require substantial changes in the code, because the whole list display will have to be implemented from scratch?

Can you please explain concisely on why libksysguard doesn't fit the
bill? Would it be possible to have a libksysguard backend that calls


More information about the KDevelop-devel mailing list