# Adding Javadoc or Source links to WTK libraries

You can add Javadoc or source links to libraries of a Wireless Toolkit (WTK). This allows you to do source-level debugging (assuming the WTK has been compiled with debug information) and to use Eclipse's context-sensitive API help features.

## Attaching Source Or Javadoc to a WTK

In order to attach Javadoc to a WTK component, perform the following steps:

1. Open the Device Management window by selecting Preferences from the Window menu, expanding the Mobile Tools for Java item in the left column, and click on the Device Management item.
2. Choose the device that you want to add the source and/or Javadoc attachment to and select the Edit... button.
3. Select the Javadoc or Source cell to go into edit mode.
4. Press the cell editor button to launch the appropriate editor dialog.
   - For source attachments, use the provided source attachment dialog.
   For Javadoc attachments, use the provided Javadoc attachment dialog.

Note that not all Wireless Toolkits are distributed with the classes in the JAR file compiled with debug information. Thus, even though you may have attached the source to the JAR file, you may still not be able to step into the WTK source.