[2.0] debugging template

32 views
Skip to first unread message

virtualeyes

unread,
Oct 17, 2012, 7:25:04 AM10/17/12
to play-framework
This is not helping me:
"Exception: Compilation error [`identifier' expected but `"' found]"

No line number, no code snippet.

When strongly typed template IDE support comes along, 2 second
template fixes will be the norm.

Blindly snipping out code blocks to find the error is not...a great
way to spend one's time....

James Roper

unread,
Oct 18, 2012, 12:07:39 AM10/18/12
to play-fr...@googlegroups.com
Indeed.  I assume you are using Play to write a REST API, and so you interact with it entirely via the console, and never visit it directly in the browser?  2.1 fixes this, not only do you get a line number and column number, you get the line of code printed with a carat under the column.  The work around in 2.0 is to hit the play app in your web browser, where it should give you the line of code, a few lines of context, and the error highlighted.
Reply all
Reply to author
Forward
0 new messages