octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb modes for debugging GUI?


From: John W. Eaton
Subject: Re: gdb modes for debugging GUI?
Date: Wed, 22 Jun 2016 17:42:06 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 06/22/2016 05:31 PM, Rik wrote:
6/22/16

All,

Does anyone know the correct settings for "follow-fork-mode",
"detach-on-fork", "follow-exec-mode" in order to have the following work?

./run-octave -g -f

Or is it impossible and I should just try to attach to the GUI process once
it is open?

I'm not sure what the correct settings are. I just use a command like this to attach to the GUI process:

system (sprintf ("gnome-terminal --command \"gdb --pid %d\"", getpid ()), "async")

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]