开发者

eclipse debugging

开发者 https://www.devze.com 2023-03-07 11:58 出处:网络
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

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:

  1. Set a breakpoint on the server
  2. Use the browser UI to access the code
  3. Hit the breakpoint on the server
  4. Check the status of variables
  5. Set the next breakpoint
  6. Tell the server code to continue
  7. Go back to 2 and repeat
0

精彩评论

暂无评论...
验证码 换一张
取 消