octave-bug-tracker
[Top][All Lists]
Advanced

[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: Thu, 14 Nov 2019 06:02:02 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?57234>

                 Summary: Use of debugger in callbacks
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Thu 14 Nov 2019 11:02:00 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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
-verbatim+

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/




reply via email to

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