如何调试整个项目 [英] how debug the entire project

查看:89
本文介绍了如何调试整个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了项目并托管了它。但有时链接无法在我的代码中获得异常。但有时它的工作完美。在Localhost中它始终完美运行。我怎么能删除所有的错误。我该怎么办请给我建议如何解决这个问题。我使用struts 1.3和mysql db。我在dao类中编写了完整的方法。并使用操作类调用它。

i have developed project and hosted it. but some times the link is not working getting exceptions in my code. but some times its working perfectly. in Localhost its always working perfectly. how can i remove all bugs. i dont how to do . please give me suggestion how to resolve this problem. Am using struts 1.3 and mysql db. I have written entire methods in dao classes. and called it using action classes.

推荐答案

您可以在异常上放置一个断点 - 然后当异常发生时应用程序将保持:



如何在Eclipse中添加Java异常断点 [ ^ ]
You can place a breakpoint on an exception - then the application will hold when the exception apears:

How to add Java Exception Breakpoint in Eclipse[^]


这篇关于如何调试整个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆