Re: How to debug deployment process of my application in IntelliJ IDEA

2016-03-22 Thread Sean Dawson
I'm thinking this is more of an IntelliJ question than a Tomcat one?  Can
you post to their support/groups?


On Mon, Mar 21, 2016 at 3:54 AM, Artur Owczarek 
wrote:

> I'm learning how Spring MVC works. I'd like to debug the process of
> deployment on different containers (using IntelliJ) as well as how my
> application works after deployment. I created the simplest application
> possible. It does nothing except registering dispatcher servlet. Now I set
> breakpoint somewhere in my servlet and debug application. It stops as
> expected. When I click on frames of my thread, I can download sources of
> spring (because the dependencies are in my pom.xml). These framed have
> yellow background in default IntelliJ Theme. There are also frames with
> white background. The ones with black foreground belong to my application.
> The ones with grey letters are from org.apache.catalina. I can't view
> corresponding source code because it's not been attached. When I edit
> configurations, I can configure application server and add source code. I
> downloaded matching tomcat source code and added it in Application Servers
> windows. IntelliJ added these directories as source code. Unfortunatelly I
> still can't see the source code. What shall I do to see the source code of
> tomcat? I'm using tomcat 8.
>


How to debug deployment process of my application in IntelliJ IDEA

2016-03-21 Thread Artur Owczarek
I'm learning how Spring MVC works. I'd like to debug the process of
deployment on different containers (using IntelliJ) as well as how my
application works after deployment. I created the simplest application
possible. It does nothing except registering dispatcher servlet. Now I set
breakpoint somewhere in my servlet and debug application. It stops as
expected. When I click on frames of my thread, I can download sources of
spring (because the dependencies are in my pom.xml). These framed have
yellow background in default IntelliJ Theme. There are also frames with
white background. The ones with black foreground belong to my application.
The ones with grey letters are from org.apache.catalina. I can't view
corresponding source code because it's not been attached. When I edit
configurations, I can configure application server and add source code. I
downloaded matching tomcat source code and added it in Application Servers
windows. IntelliJ added these directories as source code. Unfortunatelly I
still can't see the source code. What shall I do to see the source code of
tomcat? I'm using tomcat 8.