How to debug in Version 4?

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

How to debug in Version 4?

Postby measilva » Fri Jul 25, 2008 6:05 pm

Does anyone know a trick to debug in version 4?

I keep getting a error message "syntax error, unexpected COMMA, expecting EQUAL" after a run my code. What I want is to see in which line of the code the problem is exactly.

Even when I get rid off of all COMMA's in my mod file, I still get this message.

P.S.: when I run the same code in version 3 and it works perfectly.

Any thoughts will be appreciated.
Marcelo
University of North Carolina
measilva
 
Posts: 31
Joined: Wed Mar 05, 2008 3:47 pm
Location: University of North Carolina

Postby SébastienVillemot » Mon Jul 28, 2008 9:29 pm

Hi,

Just before the error message, you should have an indication of the line and column numbers where the error was triggered.

It is something of the form: "x.y-z" where x is the line number, y and z are column numbers indicating the beginning and the end of the faulty piece of code.

Best

Sébastien
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Postby measilva » Mon Jul 28, 2008 10:03 pm

Hi Sébastien,

Thanks a lot for your help.

Best
Marcelo
Marcelo
University of North Carolina
measilva
 
Posts: 31
Joined: Wed Mar 05, 2008 3:47 pm
Location: University of North Carolina


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 1 guest