Re: Adding a command to aid in debugging Octave
Andrew Janke <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.maintainers |
|---|---|
| Message-ID | <[email protected]> |
On 5/14/20 3:41 PM, Carlo De Falco wrote: > Hi, > >> Il giorno 14 mag 2020, alle ore 19:25, John W. Eaton <[email protected]> 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. Cheers, Andrew