I've set a breakpoint in a JSP when running a Tomcat application through IntelliJ IDEA (Ultimate ed.). So far so good, I can step through the JSP as expected.
The problem is: I am unable to resolve Spring model variables such as ${path}
when debugging. Evaluate Expression triggers an error: "Cannot find variable 'path'".
As a workaround I can explicitly reference the model value with <c:set var="testPath" value="${path}">
. That way I can see testPath
in Variables » _jspx_page_context » attributes, but not path
.