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

 
 

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

Submitted by:  Jens Tusche <jensenmann>
Submitted on:  Tue 26 Oct 2010 07:46:57 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.2.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 26 Oct 2010 08:09:19 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 26 Oct 2010 07:46:57 AM UTCjensenmannCarbon-Copy-=>Added jensenmann

    Back to the top


    Powered by Savane 3.1-cleanup1