Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Quick patch to make gnome-terminal-server usable with debugger-plugin

<< < (2/2)

oBFusCATed:
Grrrr. I'll look at it more thoroughly in the next couple of days.

oBFusCATed:
Sorry for the delay, I haven't been able to look at the patch until now.
I've committed your version first and then decided to improve the code a bit, because it was almost impossible to follow it.
Now it should be more readable and more robust.
Please test and report if there are any problems.
I'll be happy if there is someone on OSX/*BSD that can test it and which is able to verify that there are no problems with it there, too.

p.s. gnome-terminal 3.10.x has the switch removed and I guess this will be serious problem will face in the forum in the future :(

Jenna:

--- Quote from: oBFusCATed on February 02, 2014, 05:05:11 pm ---Please test and report if there are any problems.

--- End quote ---
Sorry for the delay. my working system was out of order since yesterday evening.
It seems to work.
But instead of "Using sleep command's PID as console PID %d, TTY %s" I would prefer "Using sleep command's PID %d to find tty, TTY %s" or something similar, because we do not need the pid, just the tty the sleep command is running in.

oBFusCATed:
In fact we need the PID to detect if the terminal has been closed by the user and then show a message for stopping the debug session.

Navigation

[0] Message Index

[*] Previous page

Go to full version