help-octave
[Top][All Lists]
Advanced

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

segFault : debugging in embedded mode


From: Matt Flax
Subject: segFault : debugging in embedded mode
Date: Thu, 11 Oct 2012 15:50:30 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

Hi there,

I was wondering if it was possible to debug whilst in embedded mode ?

I start octave like so :
    octave_main((int)cstr_arguments.size(), (char**)&cstr_arguments[0], 1);

when I run a .m file using the C++ feval command, it works just fine.

If I put a 'keyboard' call in my .m file so that I can debug, I get the following (when running from gdb):
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd1c11700 (LWP 9913)]
0x00007ffff515f254 in octave_lex () at <stdout>:1611
1611    <stdout>: No such file or directory.




reply via email to

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