help-octave
[Top][All Lists]
Advanced

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

Re: how do I start octave under gdb?


From: roumbaba
Subject: Re: how do I start octave under gdb?
Date: Fri, 29 May 2009 11:43:01 -0700 (PDT)


Ok so I modified the script and still I get the same errors when GDB is
loading up. 
So I tried another exectutable which I hadn't seen before: gdb
/Applications/Octave.app/Contents/MacOS/Octave.app

gdb launches, loads all the libraries:

Starting program: /Applications/Octave.app/Contents/MacOS/Octave.app 
Reading symbols for shared libraries
................................................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done

BUT then it outputs error messages like these:

2009-05-29 11:29:35.156 osascript[17464] *** _NSAutoreleaseNoPool(): Object
0x4300a0 of class NSPathStore2 autoreleased with no pool in place - just
leaking
2009-05-29 11:29:35.194 osascript[17464] *** _NSAutoreleaseNoPool(): Object
0x431dc0 of class NSPathStore2 autoreleased with no pool in place - just
leaking
2009-05-29 11:29:35.195 osascript[17464] *** _NSAutoreleaseNoPool(): Object
0x432560 of class NSCFString autoreleased with no pool in place - just
leaking
...
2009-05-29 11:29:35.339 osascript[17464] LCC Scroll Enhancer loaded

2009-05-29 11:29:37.570 osascript[17467] *** _NSAutoreleaseNoPool(): Object
0x438640 of class NSCFString autoreleased with no pool in place - just
leaking
2009-05-29 11:29:37.570 osascript[17467] *** _NSAutoreleaseNoPool(): Object
0x438650 of class NSPathStore2 autoreleased with no pool in place - just
leaking

Program exited normally.

and gdb quits after opening a second shell window with octave running in it.
But since gdb is no longer running it's not use.

I think I am getting closer but not quite. 
Anyone has experience debuging .mex .oct with gdb?

Thanks

baba


I don't know precisely what is in the script, but I expect that it
sets up some environment variables for you before it runs Octave.  Why
not make a copy of the script and edit it so that the script includes
the call to gdb to start Octave, then use the modified script when you
want to start a debugging session?

jwe
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave



-- 
View this message in context: 
http://www.nabble.com/how-do-I-start-octave-under-gdb--tp23752506p23785165.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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