|
From: | John W. Eaton |
Subject: | Re: Adding a command to aid in debugging Octave |
Date: | Wed, 29 Jul 2020 12:07:21 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 5/19/20 12:47 PM, Andrew Janke wrote:
On 5/14/20 3:41 PM, Carlo De Falco wrote:Hi,Il giorno 14 mag 2020, alle ore 19:25, John W. Eaton <jwe@octave.org> ha scritto: What's the right thing for Mac systems?this seems to work for me : system (sprintf ("osascript -e 'tell application \"Terminal\" to do script \"lldb -p %d\"'", getpid ())) the escaping looks a bit tricky though so it would be nice if someone else could verify it ... c.Works for me in Octave 4.4.1 on macOS 10.14.6.
Thanks for the info about how to start the debugger on MacOS systems.I pushed a changeset with a version of the new __debug_octave__ command to the stable branch and merged with default.
I also updated the information on the wiki about debugging Octave: https://wiki.octave.org/Debugging_Octave jwe
[Prev in Thread] | Current Thread | [Next in Thread] |