ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lamey" <cla...@localmatters.com>
Subject RE: Debug iBATIS source code thru myeclipse
Date Tue, 27 Jun 2006 15:58:51 GMT
Hello,

Debugging iBATIS source code is no different than debugging any third party libary in Eclipse.
 iBATIS doesn't package its source in the jar file distribution, which is good because it'd
just be extra disk space for most uses.

For iBATIS, here's what I do to step through third party source:

- Download the distribution from http://ibatis.apache.org/javadownloads.html
- Unzip the distribution and put the iBATIS source zip file somewhere on your filesystem
- Start up the application in the debugger
- When you get to an iBATIS class you want to step into, hit F5
- Eclipse should bring up the Class File Editor for that class
- On the Class File Editor tab, click on the "Attach Source..." button
- Browse to the iBATIS source zip file you downloaded

That should do it.

You can also attach either source directories or zip files in the Project Properties dialog:

- Download the distribution from http://ibatis.apache.org/javadownloads.html
- Unzip the distribution and put the iBATIS source zip file somewhere on your filesystem
- Select the project in the Package Explorer
- Right click (or hit Alt-Enter) and select Properties
- Select the Libraries tabl
- Find the iBATIS jar file
- Click the arrow next to the iBATIS jar file and click it to expand the jar's children
- Select the "Source Attachement" child of the jar
- Select the "Edit" button on the left pane
- Browse to the iBATIS source zip file you downloaded

Cheers,
Chris

-----Original Message-----
From: Debasish Dutta Roy [mailto:debasish.duttaroy@gmail.com]
Sent: Tue 6/27/2006 9:46 AM
To: user-java@ibatis.apache.org
Subject: Debug iBATIS source code thru myeclipse
 
Can I step into iBATIS source code while debugging my application?

How can I do that with myeclipse? The 3 iBATIS jar files does not contain
the source code.

Have anyone tried this.


Mime
View raw message