Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: detect change in variable
Replies: 1   Last Post: Mar 13, 2013 8:21 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Nasser Abbasi

Posts: 5,688
Registered: 2/7/05
Re: detect change in variable
Posted: Mar 13, 2013 8:21 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/13/2013 2:35 PM, Nir wrote:
> Hello,
>
> In an attempt to debug an enormous code, I'd like to run the entire
>program and automatically detect and enter debug mode when a particular variable has its value changed.
>
> It will also be very helpful if I could only stop when, for example,
>that variable is changed to say 8, and not every time it's changed to
>other values(as it might change a few thousand times during a single run).
>
> Is this sort of thing possible?
>
> Thanks.
>


It is in the help

(10) dbstop in FILESPEC if EXPRESSION




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.