Matlab does not "Pause on Error"

We are finding that the debug option pause on error (or pause on warning etc) does not stop execution.
A full restart of matlab generally fixes it. However, we are seeing this across all 3 staff using matlab and obviously feels like Matlab is unstable (we are all on trial licenses).
Unfortunately not sure how to reproduce this other than show a screen shot clearly showing "Pause on Error" is enabled and yet, an error has been caught and matlab has returned to the command prompt and cleared the stack.
Thanks, LP
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.713579 (R2017b)
MATLAB License Number: DEMO
Operating System: Linux 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64
Java Version: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.3 (R2017b)
Database Toolbox Version 8.0 (R2017b)
Financial Toolbox Version 5.10 (R2017b)
MATLAB Compiler Version 6.5 (R2017b)
MATLAB Compiler SDK Version 6.4 (R2017b)
Optimization Toolbox Version 8.0 (R2017b)
Parallel Computing Toolbox Version 6.11 (R2017b)
Statistics and Machine Learning Toolbox Version 11.2 (R2017b)

7 comentarios

Do you mean
dbstop if error
??
LP
LP el 28 de Dic. de 2017
correct
Walter Roberson
Walter Roberson el 28 de Dic. de 2017
Could you post that image showing enabling dbstop if error and then getting the error that is not caught ?
LP
LP el 28 de Dic. de 2017
Editada: LP el 28 de Dic. de 2017
Does this suffice?
Trial>> dbstatus
Stop if error.
Stop if warning.
Struct contents reference from a non-struct array object.
Error in AETimeSeries/applyFunctionNeedingTminus1 (line 817)
if lastState(i).mTime(end) < tmp.mTime(1)
Error in AETimeSeries/cumsumNanZero (line 394)
[obj, lastState] = applyFunctionNeedingTminus1(obj, 'applyFunctionToAllFields', @(x) cumsumNanZero(x), varargin{:} );
Error in AETimeSeries/cumsumNanZeroReinsertNan (line 405)
[obj, lastState] = cumsumNanZero(obj, varargin);
Error in unitTestAETimeSeries (line 71)
[tmp,is_out] = tmp.(func)(args{:}, is_out); % ASSUME 1 nargin/nargout
Trial>> dbstatus
Stop if error.
Stop if warning.
Trial>>
LP
LP el 28 de Dic. de 2017
Editada: LP el 28 de Dic. de 2017
a
> clear all
> close all
and the program stops as it should.
Error in AETimeSeries/applyFunctionNeedingTminus1 (line 817)
if lastState(i).mTime(end) < tmp.mTime(1)
Error in AETimeSeries/cumsumNanZero (line 394)
[obj, lastState] = applyFunctionNeedingTminus1(obj, 'applyFunctionToAllFields', @(x) cumsumNanZero(x), varargin{:} );
Error in AETimeSeries/cumsumNanZeroReinsertNan (line 405)
[obj, lastState] = cumsumNanZero(obj, varargin);
Error in unitTestAETimeSeriesFunctions (line 71)
[tmp,is_out] = tmp.(func)(args{:}, is_out); % ASSUME 1 nargin/nargout
817 if lastState(i).mTime(end) < tmp.mTime(1)
K>> dbstatus
Stop if error.
Stop if warning.
K>> dbstack
> In AETimeSeries/applyFunctionNeedingTminus1 (line 817)
In AETimeSeries/cumsumNanZero (line 394)
In AETimeSeries/cumsumNanZeroReinsertNan (line 405)
In unitTestAETimeSeriesFunctions (line 71)
In IntervalTimeSeries/calcFXcrossRate (line 249)
In unitTestAETimeSeries (line 23)
K>>
LP
LP el 28 de Dic. de 2017
FYI this is after a complete restart...no rhyme or reason but troubling
Expected one output from a curly brace or dot indexing expression, but there were 2 results.
Error in calcRVfilter (line 91)
tmp_obj.mData.midpoint = rv_rets; % smack right in!
Error in devRVfilter (line 29)
[ws, is_out] = calcRVfilter(ts, config);
Trial>> dbstatus
Stop if error.
Trial>> dbstack
Trial>>
Walter Roberson
Walter Roberson el 28 de Dic. de 2017
Odd. I think you are probably going to need to contact Mathworks for free installation support on this one.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

LP
el 28 de Dic. de 2017

Comentada:

el 28 de Dic. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by