Posted: Tue Nov 16, 2010 4:08 am Post subject: Debug java in Eclipse
Master
Joined: 26 Jun 2001 Posts: 248
After installing and getting Eclipse going with a JAVA MQ Application, I have hit a problem getting the debugger to work.
To install the IDE, I installed Eclipse and then did the following:
Create a new project: File -> New Java Project
Specify a project name and then press "Next".
Click on the Libraries tab.
Click on "Add External JARs".
Navigate to the MQ Java library (c:Program Files\IBM\WebSphere MQ\java\lib)
Select com.ibm.mq.jar and com.ibm.mq.jmqi.jar.
The program is executed when I then do run as java application. However, when I try and do "debug as java application" the debugger prompts that "the JAR file com.ibm.mq.jar has no source attachment".
How do I configure Eclipse so that I can use the debugger?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum