|
From: | Przemek Klosowski |
Subject: | Re: Debugging Octave (as in gdb not a script) |
Date: | Mon, 4 Feb 2013 10:37:33 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 02/02/2013 06:06 PM, Alec Teal wrote:
You can't use gdb on shell scripts.
True, but you can run GDB and point it to any process with the -p option. In other words, you run Octave in whatever way using whatever nested scripts that suit you, then you find out what is the PID of the actual running Octave binary and give it to gdb:
gdb -p `pidof octave`
[Prev in Thread] | Current Thread | [Next in Thread] |