eclipse debugging
Is there a way once you deploy an application via eclipse to tomcat to see the a开发者_如何转开发pplication step through in one of the console views as you navigate through the program on your browser??
I guess watch it as it accesses certain methods?
Thanks
You can put breakpoints in the code and step through as you navigate through the browser, but it won't behave exactly as you are imagining. It'll be a back and forth dance:
- Set a breakpoint on the server
- Use the browser UI to access the code
- Hit the breakpoint on the server
- Check the status of variables
- Set the next breakpoint
- Tell the server code to continue
- Go back to 2 and repeat
精彩评论