Update FYI: After all, it seems like I can make octave debug prompt appear and work if I set dbstop (or keyboard) and then run e.g. octave> sweuromodel (i..e as..m file) instead (i.e. and after) octave> dynare sweuromodel.mod noclearall cygwin it looks like running dynare "upsets" switch to octave debug mode (i.e. same problem occur when running via dynare even if I do not use use_dll option) Best George On 21/07/2010 09:47, George Perendia wrote:
HI Sebastien
Thanks for all your answers
Problem is however that each described method of entering debug mode results in my prompt and cygwin window freezing and the only thing I can do is C-c to exit the Dynare application. I can however make the dll print matrices to cout under octave and I can put pause and other suitable commands in .m files to pause or control the execution so that helps but slows down my debugging.
Best George
On 20/07/2010 21:17, Sébastien Villemot wrote:
Hi,
On Mon, Jul 19, 2010 at 08:11:04PM +0100, George Perendia wrote:
Another issue is that when octave hits dbstop: the prompt and keyboard freeze at the first line of the file dbstop is set in without promptimg "debug>" mode (and not at the line I specified using dbstop<fname>,<lineno>.:
I don’t have much experience with debugging under Octave, and I don’t know if it is supposed to behave like MATLAB. I can only point you to the part of Octave manual which deals with debugging :
http://www.gnu.org/software/octave/doc/interpreter/Debugging.html
Best,