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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50312] debug: combining dbstep and dblist


From: nicodemus
Subject: [Octave-bug-tracker] [bug #50312] debug: combining dbstep and dblist
Date: Wed, 15 Feb 2017 05:59:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

URL:
  <http://savannah.gnu.org/bugs/?50312>

                 Summary: debug: combining dbstep and dblist
                 Project: GNU Octave
            Submitted by: nicmus
            Submitted on: Wed 15 Feb 2017 10:59:15 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi when I run the debug octave --no-gui console a strange behaviour shows up
by concatanating dbstep and other commands.

Here is an example which best explain the problem


% FILE: test.m
disp 'hello world 1';
disp 'hello world 2';
disp 'hello world 3';
disp 'hello world 4';
disp 'hello world 5';

>> dbstop test 3;

>> test
hello world 1
hello world 2
stopped in test.m at line 3
3: disp 'hello world 3';

>> dbstep; dblist
stopped in test.m at line 1
1: disp 'hello world 1';

>> dbstep; dblist
stopped in test.m at line 1
1: disp 'hello world 1';

>> dbstep;
1-->    disp 'hello world 1';
2       disp 'hello world 2';
3       disp 'hello world 3';
4       disp 'hello world 4';
5       disp 'hello world 5';
1-->    disp 'hello world 1';
2       disp 'hello world 2';
3       disp 'hello world 3';
4       disp 'hello world 4';
5       disp 'hello world 5';
hello world 3
stopped in test.m at line 4
4: disp 'hello world 4';

>> dbstep
hello world 4
stopped in test.m at line 5
5: disp 'hello world 5';

>> dbstep
hello world 5
stopped in test.m at line 6
6:

>> dbstep
% end debug





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50312>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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