debug

如何debugapp

先查看异常名:NullPointerException工具

再看异常描述信息ServletException: servlet named [HelloServlet] and [HiServlet] are bothed mapped url [/aaa]url

上述异常形成缘由:caused by XXXExceptionspa

使用debug调试工具debug

先打断点调试

 

(快捷键)F5:进入当前行的方法中servlet

 

                      F6:执行当前行代码,跳到下一行io

 

                      F7:从当前方法中跳出sed

 

                      F8:继续运行项目,直到下一个断点map

相关文章
相关标签/搜索