my dog learned polymorphism
The moose likes Spring and the fly likes How to debug Spring MVC Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to debug Spring MVC Application" Watch "How to debug Spring MVC Application" New topic

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

Joined: Mar 07, 2010
Posts: 1682

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

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:
subject: How to debug Spring MVC Application
It's not a secret anymore!