octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47313] Segfault when interacting with FLTK Pl


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #47313] Segfault when interacting with FLTK Plots
Date: Tue, 01 Mar 2016 15:34:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0

Follow-up Comment #1, bug #47313 (project octave):

Since the gui is started in a two step process so that the GUI is running in a
process with no controlling tty, you can't just do


gbd octave


What I usually do is issue the following command at the Octave prompt to start
gdb in a separate terminal and attach it to an already running Octave GUI
process:


system (sprintf ("gnome-terminal --command 'gdb -p %d'", getpid ()),
"async");


Substitute the gnome-terminal command for your favorite terminal window
program.  Once gdb starts and gives you the "(gdb) " prompt, type "continue"
to allow Octave to run again.

You can find this command and some more information here: 
http://wiki.octave.org/Debugging_Octave


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47313>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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