bugGNU Octave - Bugs: bug #31456, "keyboard" doesn't work...

 
 

bug #31456: "keyboard" doesn't work when function was called by "eval"

Submitter:  Jens Tusche <jensenmann>
Submitted:  Tue 26 Oct 2010 07:46:57 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.2.4 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Oct 2010 08:09:19 AM UTC, comment #1: 

I can't duplicate this with a copy of Octave built from the current development sources, so I think this problem is fixed.  If you or someone else can duplicate it with the current development sources, then reopen the report.

John W. Eaton <jwe>
Group administrator
Tue 26 Oct 2010 07:46:57 AM UTC, original submission:  

Hi,

I ran into a problem which I could track down a lot:

Assume there is a function reinhold.m


%%%%%%%%%%%%%%%%%%%%%%%
function reinhold()

a=1
b=2
keyboard
c=sum([a b])
%%%%%%%%%%%%%%%%%%%%%%%

If I call it as usual

>>reinhold


then I get the debug line as expected. But if I do

>>eval('reinhold')


then "keaboard" hangs an I can only stop it by Ctrl-C.

>>feval('reinhold')


is working instead. Well I don't know if this is a bug, but at least it seems weird.

regard
jens



Jens Tusche <jensenmann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by jensenmann (Submitted the item)
  • -email is unavailable- added by jensenmann
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-26 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2010-10-26 jensenmann Carbon-Copy- Added jensenmann

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code