help-octave
[Top][All Lists]
Advanced

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

Re: How to either diagnose or workaround code that makes octave get stuc


From: andrewcd
Subject: Re: How to either diagnose or workaround code that makes octave get stuck
Date: Sun, 1 Jul 2012 01:08:34 -0700 (PDT)

Thanks Marco, I wasn't aware of those commands, but anyway I am not sure that
they are what I am looking for.  I don't get tied up in an error message, I
get tied up in some process that doesn't end.

It turns out that I've found the source of the problem -- it was a "while
change>1e-9" thing, and change never got that low.  I've since fixed my
code, because I should never have functions that don't behave in my
application.

But still, it would be nice to be able to manually hit break (the big red
X), then type some command to see what was the last thing that octave tried
to do -- from what line and what function.

It would also be nice to be able to have octave skip to some section of code
whenever it gets stuck on one particular code line for longer than S
seconds.

Are either of these possible?

--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-either-diagnose-or-workaround-code-that-makes-octave-get-stuck-tp4631122p4631126.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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