debug

如何debug

先查看异常名:NullPointerException

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

上述异常造成原因:caused by XXXException

使用debug调试工具

先打断点

 

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

 

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

 

                      F7:从当前方法中跳出

 

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

 

原文地址:https://www.cnblogs.com/zhangxiong-tianxiadiyi/p/11097680.html