bugGNU Octave - Bugs: bug #47190, Trying to evaluate value of a...

 
 

bug #47190: Trying to evaluate value of a variable on a breakpoint leads to continuation of execution

Submitted by:  Ruslan <l0110111>
Submitted on:  Thu 18 Feb 2016 02:30:46 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: None
Originator Name: RuslanOpen/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 22 Feb 2016 06:32:33 PM UTC, comment #1:

Thanks for your report. The behavior you report is limited to debugging from the GUI, not when using the commands dbstop, dbcont, etc. This has fortunately already been fixed for the upcoming 4.0.1 release (tested in 4.0.1-rc3).

Mike Miller <mtmiller>
Project Administrator
Thu 18 Feb 2016 02:30:46 PM UTC, original submission:

See the following code:

% start code
function octave_test1()
x=5;
y=6;
z=x*y;
w=z+x;
end
% end code

If you add breakpoint at `y=6;` line, then run (press F5), and on hitting the breakpoint try to evaluate x in the command window (typing x and pressing Enter), the program will continue and finish.
If you now add a second breakpoint at the next line, the same sequence of actions leads to hitting the second breakpoint, where you can retype x and finally get the value.

The expected result is that you don't have to set multiple breakpoints just to catch the program which ran away from the first breakpoint — it shouldn't run away on evaluation of a variable.

Ruslan <l0110111>

 

(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 mtmiller (Posted a comment)
  • -unavailable- added by l0110111 (Submitted the item)
  • -unavailable- added by l0110111
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Feb 2016 06:32:33 PM UTCmtmillerCategoryInterpreter=>GUI
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 18 Feb 2016 02:30:46 PM UTCl0110111Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1