How to debug into response.addCookie(...)?
i have a struts application in a jboss server. i would like to be able to debug into response.addCookie(...) when working from Eclipse.
what do I have to do to be able to press Step Into from Eclipse, in a Struts action, when its doing response.addCookie(...) ?
I did try to press Step into and it sayd "Source not found". Then I pressed the "Edit source lookup path..." button, choose "Add source", "External Archive" and开发者_如何学Go pointed to the downloaded source code of JBoss "jboss-4.2.3.GA-src.tar.gz"
What am I missing ?
Put a breakpoint on HttpServletResponse#addCookie()
.
If your concrete problem is that you don't have the source code, you need to download it for the servletcontainer in question first (if it is open source, JBoss is) and then include it in Eclipse.
精彩评论