Running a source command before launching main command

Aleix Pol aleixpol at
Fri Jul 30 15:59:22 BST 2021

It depends on how gdb is configured. I don't know what it defaults to.

On Fri, Jul 30, 2021 at 10:46 AM René J.V. Bertin <rjvbertin at>

> On Friday July 30 2021 02:51:03 Aleix Pol wrote:
> >Note that you can set the environment that you run on within the Configure
> >Launches dialog.
> It was my understanding that the PO knew this and had reason to use
> another approach (the env. variable values could depend on the date, for
> instance).
> >This is useful if you need to run gdb since otherwise you'll end up
> >debugging your starter script rather than your program.
> About that: in reality you'd be debugging the shell interpreter of course.
> Do you know what happens when an application being debugged replaces itself
> via an exec call? Does the debugger continue with the new executable?
> R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop mailing list