aspose file tools
The moose likes Spring and the fly likes How to debug Spring MVC Application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "How to debug Spring MVC Application" Watch "How to debug Spring MVC Application" New topic
Author

How to debug Spring MVC Application

Anupam Dee
Ranch Hand

Joined: Oct 18, 2010
Posts: 42

How can we debug Spring Application or Spring MVC Application?
I have commons-logging.jar. But don't know how to use it?
Or is there any other alternative to step through to debug my application by setting breakpoints.

I am using Spring Tool Suite.
Please help.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1282

STS is built on Eclipse so the debugger works the same way. You can see this tutorial for an overview

http://www.vogella.com/articles/EclipseDebugging/article.html

The main difference is you may not be running a java application but rather a web app. To start TC-server click the 'Start the server in debug mode' button. It looks like a bug and is right next to the green play button in the servers tab in the lower left corner of the screen.


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to debug Spring MVC Application
 
Similar Threads
Spring book recomandation
css in spring MVC
struts2 Vs spring mvc
How to create session attribute once the session is established in Spring MVC?
[Spring Web Flow 2] Can Spring Web Flow work with Spring Web MVC?