[Top][All Lists]

[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


                 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



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);

function clbk (h, e)
  throw_an_error ();

then if one use 'dbstop if error', click the button and type 'dbquit', there's
a segfault.


Reply to this item at:


  Message sent via Savannah

reply via email to

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