在Eclipse中调试jar文件 [英] Debugging Jar file in eclipse

查看:160
本文介绍了在Eclipse中调试jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调试我的应用程序,我看到我在完全独立的Java项目中构建的jar文件中有一个例外。我从SVN检查了这个项目。



如何将Eclipse中的项目附加到我当前的项目中并调试此代码?

解决方案

你必须创建一个项目的依赖关系。


右键点击你的项目名称>属性> Java构建路径>项目


只需确保两个项目都在同一个工作区。


I'm debugging my application and I see that I have an exception in jar file which is built from completely separate Java project. I checked out this project from SVN.

How can I attach this project in Eclipse to my current project and debug this code as well?

解决方案

You'll have to create a dependency of one project on the other.

Right Click on your project name > Properties > Java Build Path > Projects

Just make sure that both projects are in the same workspace.

这篇关于在Eclipse中调试jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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