[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57234] Use of debugger in callbacks
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #57234] Use of debugger in callbacks |
Date: |
Fri, 15 Nov 2019 04:51:30 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #2, bug #57234 (project octave):
Ah, sorry, there was a typo in the formatting:
https://lists.gnu.org/archive/html/octave-bug-tracker/2019-11/msg00386.html
Debugging errors in callbacks is difficult as the call stack is not displayed
and only this error message appears:
execution error in graphics callback function
as, for example, here:
function testme
F = figure ();
uicontrol (F, 'String', 'Button', 'Callback', @clbk);
endfunction
function clbk (h, e)
throw_an_error ();
endfunction
then if one use 'dbstop if error', click the button and type 'dbquit', there's
a segfault.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57234>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/