Questions tagged [dbstop]
5 questions
5
votes
4 answers
Matlab custom dbstop handler
I know people have discussed how to make custom dbstop conditions,
(such as in Customize dbstop in MATLAB)
However, I am using the normal dbstop if error and I want to know (from another process) whether a matlab process is currently in the…

Philipp F
- 874
- 9
- 29
2
votes
1 answer
conditional dbstop to locate where variable becomes negative
I realise that this has been brought up before; but I am hoping that someone can clarify something for me.
One of my variables is being calculated as a negative number at some point during my model run..however, this is a mistake (they can only be…

matlab_newby
- 79
- 1
- 12
1
vote
1 answer
matlab dbstop if naninf -> recursion limit and crash
I issue following command in the interactive MATLAB console:
>> foo = [1 inf];
>> dbstop if naninf
>> foo
I now get weird behaviour: MATLAB seems to to break into two different files, but doesn't actually stop execution. This is pretty slow because…

Ben Schwehn
- 4,505
- 1
- 27
- 45
0
votes
1 answer
Can I dynamically place a breakpoint in the event of an exception in Ruby?
I'd like to be able to set conditional breakpoints in ruby-debug, where the condition is "An exception was thrown."
What I'd like is the ability to land on a breakpoint whenever an exception is thrown on that line (a la MATLAB's ultra-convenient…

Manu R
- 806
- 1
- 8
- 13
0
votes
1 answer
Receive Mail if matlab is in debugging mode
I'd like to receive an email when Matlab is in debugging mode, so I tried the following:
timerTic=4; % how often the timer checks
timerHandle = timer();
timerHandle.startDelay = timerTic;
timerHandle.Period = timerTic;
timerHandle.ExecutionMode…

Daniele F.
- 3
- 2