Newer versions of gnome-terminal start (or reuse) a gnome-terminal-server instead of a single process.
Because of this, the pid returned by wxExecute when starting gnome-terminal is no longer valid and the check whether the started console is still opened fails.
The user gest a message that the console has been closed and is asked whether the debugger should be stopped or not.
Nevertheless debugging works fine, because the tty can be determined coorectly, because or sleep-process is still running, but the console can nt be closed after debugging.
I attach a patch, where the pid can (and will) be changed by cbDebuggerPlugin::GetConsoleTty, if it can not be found.
This breaks the api of the cbDebuggerPlugin-class, but it works.
@oBFusCATed
can you please look into this patch, I know it is probaly not the best solution, but it works with minimal changings.
If there are no objections, I would like to have it or a similar patch in our repo before we do the release, because it allows user to use gnome-terminal again.