[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
debug_on_warning does not give the line number II
From: |
John W. Eaton |
Subject: |
debug_on_warning does not give the line number II |
Date: |
Wed, 16 Dec 2009 13:20:15 -0500 |
On 14-Dec-2009, Eric Chassande-Mottin wrote:
| hi Octavers,
|
| I'm sending this message again. It seems that something went wrong
| with my previous post.
|
| is there a possibility that Octave give the line number where it stops
| when switching debug_on_warning on?
|
| octave3.2 -q
| octave3.2:1> debug_on_warning(1);
| octave3.2:2> foo
| b = 0
| warning: division by zero
| keyboard: stopped in /home/ecm/foo.m
| debug>
|
| at which line did stop here?
This is what I see with the current development sources:
lt-octave:1> debug_on_warning (1)lt-octave:2> foo
warning: division by zero
stopped in /scratch/jwe/build/octave/foo.m at line 3
3: 1/b
debug>
jwe